megvii-research / video_analyst

A series of basic algorithms that are useful for video understanding, including Single Object Tracking (SOT), Video Object Segmentation (VOS) and so on.
MIT License
832 stars 176 forks source link

I encountered a problem when running the demo with extracted image files. Can you help me solve the following problems? #214

Closed long-wa closed 2 years ago

long-wa commented 2 years ago

hi, I encountered a problem when running the demo with extracted image files. Can you help me solve the following problems? ""python3 ./demo/main/video/sot_video.py --config 'experiments/siamfcpp/test/vot/siamfcpp_alexnet.yaml' --device cuda --video datasets/baby1/*.jpg usage: sot_video.py [-h] [-cfg CONFIG] [-d DEVICE] [-v VIDEO] [-o OUTPUT] [-s START_INDEX] [-r RESIZE] [-do] [-i INIT_BBOX [INIT_BBOX ...]] sot_video.py: error: unrecognized arguments: datasets/baby1/0002.jpg datasets/baby1/0003.jpg datasets/baby1/0004.jpg datasets/baby1/0005.jpg datasets/baby1/0006.jpg datasets/baby1/0007.jpg datasets/baby1/0008.jpg datasets/baby1/0009.jpg datasets/baby1/0010.jpg datasets/baby1/0011.jpg datasets/baby1/0013.jpg...""

I look forward to your reply! Thank you!

lzx1413 commented 2 years ago

@long-wa you can try this

python3 ./demo/main/video/sot_video.py --config 'experiments/siamfcpp/test/vot/siamfcpp_alexnet.yaml' --device cuda --video "datasets/baby1/*.jpg"
MARMOTatZJU commented 2 years ago

Closed as no further discussion. Feel free to reopen it again.