HAO LIU
HAO LIU
> 感谢!再次叨扰您,我又有了新的问题: > > 1. vgg16的压缩率和flops以及参数量和readme种给的不对应?(vgg16的compress_rate [0.95]+[0.5]*6+[0.9]*4+[0.8]*2,readme给的是Flops=105.61M和Params=2.64M,但是好像不对应,和我算出来的不对应) > 2. 是每剪一层就微调一次,还是将所有层剪完之后只微调一次?如果是前者,那么在剪枝前仅计算一次各卷积层的平均秩会不会有偏差呢? 针对你的第一个问题,我算的也不是2.64M,是2.92M,还记得吗你算得是多少
Hi have you solve this problem?
Hi have you solve your problem? I also met the accracy problem when I tested on Resnet.
Hi have you solve your problem? Maybe you can compare the output of the "output_softmax" layer between the hls_model and the keras model. this is my problem. [https://github.com/fastmachinelearning/hls4ml/issues/590](https://github.com/fastmachinelearning/hls4ml/issues/590)
Hi have you tried with full precision model (ap_fix)? I mean don't quantize the model and set hls config to ap_fix. Maybe you can check the output of the last...
For me I found there might be some problem with the softmax layer. I print the output of dense layer and it works fine. But for softmax layer, the output...
Can you print your output? Is it consisted of some same number and some zeros like [0.25, 0.25, 0.25, 0, 0, 0]?
> @liuhao-97 I tried to profile the layer but came up with a `graph disconnected error'. > > ``` > ValueError: Graph disconnected: cannot obtain value for tensor KerasTensor(type_spec=TensorSpec(shape=(None, 32,...
Besides which hls4ml are you using? hls4ml 0.6.0 or the newest branch?
> I am using hls4ml 0.6.0. Has this issue been resolved in the new branch? not sure. You can have a try with new brench. Besides, have you tried with...