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

error to find module darknet and var #8

Open
ezratoga opened this issue Oct 25, 2020 · 0 comments
Open

error to find module darknet and var #8

ezratoga opened this issue Oct 25, 2020 · 0 comments

Comments

@ezratoga
Copy link

Excuse me, sir. I want to report, while i was trying to train using command "python train.py --cfg cfg/yolov3.cfg --img-size 416" in my windows command prompt, there were errors like these following paragraph:

Namespace(accumulated_batches=1, batch_size=16, cfg='cfg/yolov3.cfg', data_cfg='cfg/coco.data', epochs=100, freeze=False, img_size=416, multi_scale=False, resume=False, var=0, weights='weights')

Using cpu

Traceback (most recent call last):
File "train.py", line 214, in
var=opt.var,
File "train.py", line 38, in train
model = darknet(cfg, img_size)
NameError: name 'darknet' is not defined

I hope anyone can help me to solve this error, thank you very much before

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