voldemortX / pytorch-auto-drive

PytorchAutoDrive: Segmentation models (ERFNet, ENet, DeepLab, FCN...) and Lane detection models (SCNN, RESA, LSTR, LaneATT, BézierLaneNet...) based on PyTorch with fast training, visualization, benchmarking & deployment help
BSD 3-Clause "New" or "Revised" License
824 stars 137 forks source link

Vis Error #158

Closed hagonata closed 10 months ago

hagonata commented 10 months ago
python3 tools/vis/lane_video.py --video-path=/media/user/LaCie/DataSet/video-for-testing/tdt4265_video1.mp4 --save-path=/media/user/LaCie/DataSet --config=configs/lane_detection/scnn/resnet50_culane.py --checkpoint=checkpoints/resnet50_scnn_culane/model.pt
/home/user/.local/lib/python3.8/site-packages/mmcv/__init__.py:20: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details.
/home/user/pytorch-auto-drive/utils/models/lane_detection/laneatt.py:22: UserWarning: Can't complie line nms op for LaneATT. Set verbose=True for load in /utils/csrc/apis.py L9 for details.
Loaded torchvision ImageNet pre-trained weights V1.
cuda:0
[ERROR:0@7.178] global /io/opencv/modules/videoio/src/cap.cpp (595) open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.6.0) /io/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /media/user/LaCie/DataSet in function 'icvExtractPattern'

Hi, what is it Error about and how to fix it?