YOLOP
YOLOP copied to clipboard
'list' object has no attribute 'seek'
my python version is 3.8, and when run python tools/test.py the question arised, can you help me? thank you!
File "tools/test.py", line 153, in
demo.py line 55 replace to:"checkpoint = torch.load(opt.weights[0], map_location= device)", "opt.weights" is a list, but here need a weight path(str).
thank you!!
Hi leidi1989, after I changed checkpoint_file = args.weights[0] in test.py, it raised me another error as shown above, any clues? Thanks in advance!