License-plate-detection icon indicating copy to clipboard operation
License-plate-detection copied to clipboard

error to find module darknet and var

Open ezratoga opened this issue 3 years ago • 0 comments

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

ezratoga avatar Oct 25 '20 18:10 ezratoga