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

Problem with training Tiny YOLOv2 on VOC #68

Open
jefersonf opened this issue May 21, 2019 · 1 comment
Open

Problem with training Tiny YOLOv2 on VOC #68

jefersonf opened this issue May 21, 2019 · 1 comment

Comments

@jefersonf
Copy link

Hi @andy-yun

I'm trying to train the tiny yolov2 on VOC, but I got the following error:

...
File "/home/jeferson/.local/lib/python3.5/site-packages/torch/nn/modules/module.py", line 518, in __getattr__
    type(self).__name__, name))
AttributeError: 'Darknet' object has no attribute 'module

When I tried to run this.

python3 train.py -d cfg/voc.data -c cfg/tiny-yolo-voc.cfg -w yolov2-tiny-voc.weights 

Could you guess what the problem is? I'm using pytorch 0.4.1

@jefersonf jefersonf changed the title Problem with training YOLOv2 on VOC Problem with training Tiny YOLOv2 on VOC May 21, 2019
@andy-yun
Copy link
Owner

Your log shows that ngpus>1. Please check the voc.data with gpus=

Sent with GitHawk

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

2 participants