(phalp) mobo@mobo-System-Product-Name:~/ScoreHMR$ python demo_video.py --input_video example_data/videos/breakdancing.mp4 --out_folder demo_out/videos
python demo/track.py video.source=demo_out/videos/images/breakdancing video.output_dir=demo_out/videos/phalp_out/breakdancing overwrite=False detect_shots=True video.extract_video=False render.enable=False
[01/22 17:36:29] INFO No OpenGL_accelerate module acceleratesupport.py:17
loaded: No module named
'OpenGL_accelerate'
apex is not installed
apex is not installed
apex is not installed
load checkpoint from local path: /home/mobo/ScoreHMR/data/model_weights/vitpose_ckpts/vitpose-h-multi-coco.pth
[2025-01-22 17:36:36,323][pytorch_lightning.utilities.migration.utils][INFO] - Lightning automatically upgraded your loaded checkpoint from v1.8.1 to v2.5.0.post0. To apply the upgrade to your files permanently, run python -m pytorch_lightning.utilities.upgrade_checkpoint ../.cache/4DHumans/logs/train/multiruns/hmr2/0/checkpoints/epoch=35-step=1000000.ckpt
WARNING: You are using a SMPL model, with only 10 shape coefficients.
[2025-01-22 17:36:38,554][phalp.trackers.PHALP][INFO] - Loading Predictor model...
[2025-01-22 17:36:38,656][phalp.trackers.PHALP][INFO] - Loading Detection model...
[2025-01-22 17:36:42,152][detectron2.checkpoint.detection_checkpoint][INFO] - [DetectionCheckpointer] Loading from https://dl.fbaipublicfiles.com/detectron2/ViTDet/COCO/cascade_mask_rcnn_vitdet_h/f328730692/model_final_f05665.pkl ...
[2025-01-22 17:36:43,609][detectron2.checkpoint.detection_checkpoint][INFO] - [DetectionCheckpointer] Loading from https://dl.fbaipublicfiles.com/detectron2/COCO-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_3x/139653917/model_final_2d9806.pkl ...
[2025-01-22 17:36:43,698][phalp.trackers.PHALP][INFO] - Setting up Visualizer...
[2025-01-22 17:36:43,956][phalp.trackers.PHALP][INFO] - Setting up DeepSort...
[2025-01-22 17:36:43,956][phalp.trackers.PHALP][INFO] - Saving tracks at : demo_out/videos/phalp_out/breakdancing/results/breakdancing
list index out of range
Traceback (most recent call last):
File "/home/mobo/PHALP/phalp/trackers/PHALP.py", line 174, in track
list_of_shots = self.get_list_of_shots(list_of_frames)
File "/home/mobo/PHALP/phalp/trackers/PHALP.py", line 610, in get_list_of_shots
if(isinstance(list_of_frames[0], str)):
IndexError: list index out of range
Traceback (most recent call last):
File "/home/mobo/ScoreHMR/demo_video.py", line 207, in
main()
File "/home/mobo/ScoreHMR/demo_video.py", line 45, in main
process_seq(out_root=OUT_DIR, seq=args.input_video, img_dir=img_dir, overwrite=args.overwrite)
File "/home/mobo/ScoreHMR/demo/utils.py", line 145, in process_seq
os.rename(f"{res_dir}/demo_{name}.pkl", res_path)
FileNotFoundError: [Errno 2] No such file or directory: 'demo_out/videos/phalp_out/breakdancing/results/demo_breakdancing.pkl' -> 'demo_out/videos/phalp_out/breakdancing/breakdancing.pkl'
(phalp) mobo@mobo-System-Product-Name:~/ScoreHMR$ python demo_video.py --input_video example_data/videos/breakdancing.mp4 --out_folder demo_out/videos
python demo/track.py video.source=demo_out/videos/images/breakdancing video.output_dir=demo_out/videos/phalp_out/breakdancing overwrite=False detect_shots=True video.extract_video=False render.enable=False
[01/22 17:36:29] INFO No OpenGL_accelerate module acceleratesupport.py:17
loaded: No module named
'OpenGL_accelerate'
apex is not installed
apex is not installed
apex is not installed
load checkpoint from local path: /home/mobo/ScoreHMR/data/model_weights/vitpose_ckpts/vitpose-h-multi-coco.pth
[2025-01-22 17:36:36,323][pytorch_lightning.utilities.migration.utils][INFO] - Lightning automatically upgraded your loaded checkpoint from v1.8.1 to v2.5.0.post0. To apply the upgrade to your files permanently, run
python -m pytorch_lightning.utilities.upgrade_checkpoint ../.cache/4DHumans/logs/train/multiruns/hmr2/0/checkpoints/epoch=35-step=1000000.ckptWARNING: You are using a SMPL model, with only 10 shape coefficients.
[2025-01-22 17:36:38,554][phalp.trackers.PHALP][INFO] - Loading Predictor model...
[2025-01-22 17:36:38,656][phalp.trackers.PHALP][INFO] - Loading Detection model...
[2025-01-22 17:36:42,152][detectron2.checkpoint.detection_checkpoint][INFO] - [DetectionCheckpointer] Loading from https://dl.fbaipublicfiles.com/detectron2/ViTDet/COCO/cascade_mask_rcnn_vitdet_h/f328730692/model_final_f05665.pkl ...
[2025-01-22 17:36:43,609][detectron2.checkpoint.detection_checkpoint][INFO] - [DetectionCheckpointer] Loading from https://dl.fbaipublicfiles.com/detectron2/COCO-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_3x/139653917/model_final_2d9806.pkl ...
[2025-01-22 17:36:43,698][phalp.trackers.PHALP][INFO] - Setting up Visualizer...
[2025-01-22 17:36:43,956][phalp.trackers.PHALP][INFO] - Setting up DeepSort...
[2025-01-22 17:36:43,956][phalp.trackers.PHALP][INFO] - Saving tracks at : demo_out/videos/phalp_out/breakdancing/results/breakdancing
list index out of range
Traceback (most recent call last):
File "/home/mobo/PHALP/phalp/trackers/PHALP.py", line 174, in track
list_of_shots = self.get_list_of_shots(list_of_frames)
File "/home/mobo/PHALP/phalp/trackers/PHALP.py", line 610, in get_list_of_shots
if(isinstance(list_of_frames[0], str)):
IndexError: list index out of range
Traceback (most recent call last):
File "/home/mobo/ScoreHMR/demo_video.py", line 207, in
main()
File "/home/mobo/ScoreHMR/demo_video.py", line 45, in main
process_seq(out_root=OUT_DIR, seq=args.input_video, img_dir=img_dir, overwrite=args.overwrite)
File "/home/mobo/ScoreHMR/demo/utils.py", line 145, in process_seq
os.rename(f"{res_dir}/demo_{name}.pkl", res_path)
FileNotFoundError: [Errno 2] No such file or directory: 'demo_out/videos/phalp_out/breakdancing/results/demo_breakdancing.pkl' -> 'demo_out/videos/phalp_out/breakdancing/breakdancing.pkl'