Ultra-Fast-Lane-Detection
Ultra-Fast-Lane-Detection copied to clipboard
test.txt ??
在我运行
python test.py configs/tusimple.py --test_model tusimple_18.pth --test_work_dir ./tmp
的时候报错:
FileNotFoundError: [Errno 2] No such file or directory: '/home/jixie/Ultra-Fast-Lane-Detection/test.txt'
这里的test.txt 是做啥用的呢?
@hao1305430263
是不是data_root这个路径设置错误了,它需要是tusimple数据集的路径。你可以直接修改configs/tusimple.py中的data_root或者在命令行加入--data_root /path/to/your/tusimple 。
我修改了了路径,也下载了数据集,可是都没有找到test.txt 文件。想问一下这个test.txt 文件的内容和格式要求,我可以自己写一下。
@hao1305430263 你需要执行一下如下脚本:
python scripts/convert_tusimple.py --root $TUSIMPLEROOT
# this will generate segmentations and two list files: train_gt.txt and test.txt
具体的细节在INSTALL.md的Data preparation小节。