I followed the exact steps to reproduce the results. The environment installation was okay.
(env) hell@homeserver:~/Desktop/HybridNets$ python hybridnets_test.py -w weights/hybridnets.pth --source demo/image --output demo_result --imshow False --imwrite True
Traceback (most recent call last):
File "/home/hell/Desktop/HybridNets/hybridnets_test.py", line 4, in <module>
from backbone import HybridNetsBackbone
File "/home/hell/Desktop/HybridNets/backbone.py", line 9, in <module>
from encoders import get_encoder
File "/home/hell/Desktop/HybridNets/encoders/__init__.py", line 14, in <module>
from .timm_efficientnet import timm_efficientnet_encoders
File "/home/hell/Desktop/HybridNets/encoders/timm_efficientnet.py", line 8, in <module>
from timm.models.layers.activations import Swish
ModuleNotFoundError: No module named 'timm.models.layers.activations'
Looks like timm has changed over the last 4 months. I've never used this package and has no idea how to fix it. Here is my pip freeze.
I followed the exact steps to reproduce the results. The environment installation was okay.
Looks like
timm
has changed over the last 4 months. I've never used this package and has no idea how to fix it. Here is mypip freeze
.