Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: Can't get attribute 'StemBlock' on <module 'models.common' from '/mnt/data/train_codes/yolov7-face-master/models/common.py'> #83

Open
xinlin-xiao opened this issue May 6, 2024 · 1 comment

Comments

@xinlin-xiao
Copy link

use:python3 detect.py --weights ./weights/yolov7-lite-s.pt --source /mnt/data/train_codes/yolov7-face-master/data/images
return: return super().find_class(mod_name, name) AttributeError: Can't get attribute 'StemBlock' on <module 'models.common' from '/mnt/data/train_codes/yolov7-face-master/models/common.py'>

@xinlin-xiao
Copy link
Author

use:yolov5-facehttps://github.com/deepcam-cn/yolov5-face/blob/master/models/common.py
return: return super().find_class(mod_name, name) AttributeError: Can't get attribute 'Shuffle_Block' on <module 'models.common' from '/mnt/data/train_codes/yolov7-face-master/models/common.py'> anyone can help me to fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant