You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your paper, I saw that you compared the Energy Efficiency of EMS-ResNet with ANN-Res, MS-Res, and Sew-Res. You provided the firing rate in the paper, but I could not find information on SyOPs, which, according to the formula you provided, $E_b=T\times(fr\times E_{AC}\times OP_{AC}+E_{MAC}\times OP_{MAC}) (6)$ , should be an important indicator of the model's Energy Consumption. I saw potentially related code in your calculate_fr.py:
SZ seem to be attempting to calculate the number of operations in mem_update, but I encountered some issues when running the code:
Traceback (most recent call last):
File "/home/ps/EMS-YOLO/calculate_fr.py", line 355, in <module>
main(opt)
File "/home/ps/EMS-YOLO/calculate_fr.py", line 361, in main
run(**vars(opt))
File "/home/ps/miniconda3/envs/emsyolo/lib/python3.9/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/ps/EMS-YOLO/calculate_fr.py", line 235, in run
fr=np.zeros(len(cache[attention_name]))
KeyError: 'mem_update.forward'
How can I solve this problem?
The text was updated successfully, but these errors were encountered:
In your paper, I saw that you compared the Energy Efficiency of EMS-ResNet with ANN-Res, MS-Res, and Sew-Res. You provided the firing rate in the paper, but I could not find information on SyOPs, which, according to the formula you provided,$E_b=T\times(fr\times E_{AC}\times OP_{AC}+E_{MAC}\times OP_{MAC}) (6)$ , should be an important indicator of the model's Energy Consumption. I saw potentially related code in your calculate_fr.py:
SZ seem to be attempting to calculate the number of operations in
mem_update
, but I encountered some issues when running the code:How can I solve this problem?
The text was updated successfully, but these errors were encountered: