Skip to content

Exception: ERROR: Unsupported layer type: BayesianDropout #1293

Open
@shiyishiguang

Description

@shiyishiguang

When I reproduce the project: https://github.com/os-hxfan/BayesNN_FPGA When running, run it in the Hardware_ Artifact/ayes_hw directory python3 hls4ml_pred.py --load_model ./exp_mnist_bayes_lenet/mnist_bayes_lenet_spt_3samples_mc --dataset mnist --gpus 0,1,2,3 --spt_tmp_opt --mc_samples 3 --dropout_type mc, The error is as follows: raise Exception('ERROR: Unsupported layer type: {}'.format(keras_layer['class_name']))
Exception: ERROR: Unsupported layer type: BayesianDropout。
May I ask if hls4ml supports custom layers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions