calvinyeungck / 3D-Shot-Posture-Dataset

Dataset and Code for the paper "AutoSoccerPose: Automated 3D posture Analysis of Soccer Shot Movements"
Apache License 2.0
29 stars 2 forks source link

silly example how do i run my command . #1

Open pascal-maker opened 2 days ago

pascal-maker commented 2 days ago

When i try to run my command I get the follwoing ouput how do I correct my command ! python demo.py -t /content/united.mp4 --root /content/3D-Shot-Posture-Dataset --yolov8_param 3dsp_utils/bot_sort/yolov8_player/best.pt --num_frame 10 --gpu 0 --save_image usage: BoT-SORT Demo! [-h] [-demo DEMO] [-expn EXPERIMENT_NAME] [-n NAME] [--path PATH] [--camid CAMID] [--save_result] [-f EXP_FILE] [-c CKPT] [--device DEVICE] [--conf CONF] [--nms NMS] [--tsize TSIZE] [--fps FPS] [--fp16] [--fuse] [--trt] [--track_high_thresh TRACK_HIGH_THRESH] [--track_low_thresh TRACK_LOW_THRESH] [--new_track_thresh NEW_TRACK_THRESH] [--track_buffer TRACK_BUFFER] [--match_thresh MATCH_THRESH] [--aspect_ratio_thresh ASPECT_RATIO_THRESH] [--min_box_area MIN_BOX_AREA] [--fuse-score] [--cmc-method CMC_METHOD] [--with-reid] [--fast-reid-config FAST_REID_CONFIG] [--fast-reid-weights FAST_REID_WEIGHTS] [--proximity_thresh PROXIMITY_THRESH] [--appearance_thresh APPEARANCE_THRESH] BoT-SORT Demo!: error: unrecognized arguments: -t /content/united.mp4 --root /content/3D-Shot-Posture-Dataset --yolov8_param 3dsp_utils/bot_sort/yolov8_player/best.pt --num_frame 10 --gpu 0 --save_image

calvinyeungck commented 1 day ago

Thank you for your interest in our research!

It seems the error occurs because the script 3d-shot-posture-dataset/3dsp_utils/bot_sort/tools/demo.py is called, but it should be calling 3D-Shot-Posture-Dataset/3dsp_utils/demo.py. To resolve the issue, you'll need to navigate to the 3dsp_utils directory first by running:

cd 3dsp_utils

Then, you can execute the script with:

python main.py

Alternatively, if you've already cd 3dsp_utils and the issue persists, you can safely remove 3D-Shot-Posture-Dataset/3dsp_utils/bot_sort/tools/demo.py as it is not required for this repository.

Feel free to reach out if you have any further questions!