Skip to content

error to find module darknet and var #8

Description

@ezratoga

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions