derronqi / yolov7-face

yolov7 face detection with landmark
GNU General Public License v3.0
413 stars 102 forks source link

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 5 months ago

xinlin-xiao commented 5 months ago

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 commented 5 months ago

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