Bad accuracy when using 'resource' strategy in combination with qkeras and set_accum_from_keras_model()
Created by: ekellim
Hello,
When I use the set_accum_from_keras_model()
function from #321 in combination with config['Model']['Strategy'] = 'resource'
, the resulting accuracy is very bad. With the 'latency' strategy everything works fine however. Is this normal behaviour?
hls4ml branch: https://github.com/maksgraczyk/hls4ml/tree/auto-type-setup code in attachment: test_qkerasv2.zip