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

:TypeError forward() takes 2 positional arguments but 11 were given #17

Open
leiqing110 opened this issue Mar 7, 2020 · 0 comments
Open

Comments

@leiqing110
Copy link

runing train_voc.py
TypeError
forward() takes 2 positional arguments but 11 were given
File "G:\GitHub_work\Yolo-v2-pytorch\train_voc.py", line 95, in train
writer.add_graph(model.cpu(), torch.rand(opt.batch_size, 3, opt.image_size, opt.image_size))
File "G:\GitHub_work\Yolo-v2-pytorch\train_voc.py", line 186, in
train(opt)
help me ,please~~~~~~~ mang thanks

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