Skip to content

problem reading in QKeras model #563

Closed
@jmitrevs

Description

@jmitrevs

I haven't gotten a chance to debug much, but reading in a QKeras model fails for me at:

act_layer['name'] = layer['name'] + '_' + layer['activation']

when the layer name is "q_conv1d_18" and the activation is {'class_name': 'quantized_relu', 'config': {'bits': 8, 'integer': 0, 'use_sigmoid': 0, 'negative_slope': 0.0, 'use_stochastic_rounding': False, 'relu_upper_bound': None, 'qnoise_factor': 1.0}}, and you can't concatenate a string and dictionary. Any recommendations on how to fix this problem? Or does one not use keras_to_hls for qkeras models (called from convert_from_keras_model)?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions