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

yolo7face更改网络结构 #56

Open
666tua opened this issue Apr 4, 2023 · 0 comments
Open

yolo7face更改网络结构 #56

666tua opened this issue Apr 4, 2023 · 0 comments

Comments

@666tua
Copy link

666tua commented Apr 4, 2023

我正在改进yolo7face的主干网络,想用mobilenet代替其主干网络,但是会报错:File "H:\pycharmproject\yolov7-face-main\models\yolo.py", line 125, in init
self.no = self.no_det+self.no_kpt
TypeError: unsupported operand type(s) for +: 'int' and 'list'。
奇怪的是,我在任意位置更改注意力机制时 并没有报错,只有在更换主干网络时报错,希望得到大佬的指点。
123

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