ThorPham / License-plate-detection

This project using yolo3 to detection license plate in street
140 stars 43 forks source link

error to find module darknet and var #8

Open ezratoga opened 4 years ago

ezratoga commented 4 years ago

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