alpr-unconstrained icon indicating copy to clipboard operation
alpr-unconstrained copied to clipboard

Wrong Type

Open edgarscr opened this issue 5 years ago • 1 comments

Traceback (most recent call last): File "vehicle-detection.py", line 27, in vehicle_net = dn.load_net(vehicle_netcfg, vehicle_weights, 0) ctypes.ArgumentError: argument 1: <class 'TypeError'>: wrong type

edgarscr avatar Nov 13 '19 18:11 edgarscr

if you are using python3, add "b" in front of your model path. For example: ocr_weights = b'data/ocr/ocr-net.weights'

https://github.com/pjreddie/darknet/issues/241#issuecomment-354640772

pvhoang51 avatar Nov 23 '19 03:11 pvhoang51