experiencor / keras-yolo2

Easy training on custom dataset. Various backends (MobileNet and SqueezeNet) supported. A YOLO demo to detect raccoon run entirely in brower is accessible at https://git.io/vF7vI (not on Windows).
MIT License
1.73k stars 785 forks source link

cannot import name 'parse_annotation' and 'WeightReader' #333

Closed Yufeng4024 closed 6 years ago

Yufeng4024 commented 6 years ago

I run the first Jupyter Notebook cell in Python 3.6 and get the two errors:

cannot import name 'parse_annotation', and cannot import name 'WeightReader'

Could you direct me to the solution?

jorgeMariano commented 6 years ago

I think, you need import the files utils.py and preprocessing.py, to load those functions.

Yufeng4024 commented 6 years ago

Thx.

wangwei420625 commented 5 years ago

I also encountered the same problem, how should I solve it? image