IGEV icon indicating copy to clipboard operation
IGEV copied to clipboard

AttributeError: 'EfficientNetFeatures' object has no attribute 'act1'

Open zza1617 opened this issue 1 year ago • 2 comments

Thank you for sharing the code for your great work! I had this problem when I tried to run demo_imgs.py! self.act1 = model.act1 AttributeError: 'EfficientNetFeatures' object has no attribute 'act1' look forward to your reply.

zza1617 avatar Apr 08 '23 02:04 zza1617

Thank you for your attention, this is caused by the inconsistency of the timm version. Please pip install timm==0.5.4. I have introduced how to install environment in README.md.

gangweiX avatar Apr 08 '23 10:04 gangweiX

Thank you for reminding me that I ignored this information before. Problem has solved.

zza1617 avatar Apr 08 '23 13:04 zza1617