Closed arrow53 closed 3 years ago
Hi, I guess you are running the tutorial using hls4ml installed from the master branch, is that right? The profiling changed a little bit on master compared to the most recent release (which the tutorial still targets_, so I think that's why there is an error here.
You can enable tracing after creating the config like:
config = hls4ml.utils.config_from_keras_model(model, granularity='name')
for layer in config['LayerName'].keys():
config['LayerName'][layer]['Trace'] = True
@thesps thanks. I went back to 0.5.0 so not an issue now but this is good to know for the future.
@thesps hi! may i ask the similar question that how to set Trace when i am using pytorch model?
in the second part of the tutorial for this line
I see this error
When the config is generated do I need to pass a flag to enable tracing?