You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pretrained model: https://download.pytorch.org/models/resnet18-5c106cde.pth
Traceback (most recent call last):
File "tools/detect.py", line 84, in
process(args)
File "tools/detect.py", line 73, in process
detect.run(p)
File "tools/detect.py", line 47, in run
data = self.preprocess(data)
File "tools/detect.py", line 29, in preprocess
data = self.processes(data)
File "/home/emredo/lanedet/lanedet/datasets/process/process.py", line 35, in call
data = t(data)
File "/home/emredo/lanedet/lanedet/datasets/process/generate_lane_line.py", line 127, in call
line_strings_org = self.lane_to_linestrings(sample['lanes'])
KeyError: 'lanes'
Hi, when I try to use detect.py it gives an error which was given above. Why am I getting this error?
Thank you for repo and everything.
The text was updated successfully, but these errors were encountered:
(lanedet) emredo@emreninbilgisayari:~/lanedet$ python tools/detect.py configs/laneatt/resnet18_tusimple.py --img yol1.jpg --load_from /home/emredo/lanedet/work_dirs/TuSimple/20210623_163540_lr_3e-04_b_8/ckpt/best.pth --savedir ./savedimages
pretrained model: https://download.pytorch.org/models/resnet18-5c106cde.pth
Traceback (most recent call last):
File "tools/detect.py", line 84, in
process(args)
File "tools/detect.py", line 73, in process
detect.run(p)
File "tools/detect.py", line 47, in run
data = self.preprocess(data)
File "tools/detect.py", line 29, in preprocess
data = self.processes(data)
File "/home/emredo/lanedet/lanedet/datasets/process/process.py", line 35, in call
data = t(data)
File "/home/emredo/lanedet/lanedet/datasets/process/generate_lane_line.py", line 127, in call
line_strings_org = self.lane_to_linestrings(sample['lanes'])
KeyError: 'lanes'
Hi, when I try to use detect.py it gives an error which was given above. Why am I getting this error?
Thank you for repo and everything.
The text was updated successfully, but these errors were encountered: