vibe_win_install
vibe_win_install copied to clipboard
no .torch file. file not found error
i clossed the last issue after i found out that it had already been ans but the solution did not work for me. i downloaded both yolov3 files
but when i went to c/user/{user name}/.torch
i found out there was no .torch file i made a new folder name it .torch added models and config folders and copied the respected yolov3 filles in each
tried running
python demo_alter.py --vid_file sample_video.mp4 --output_folder output/ --display
nothing same error
closed the prompt
re-opened it. double checked that it was in admin.
reinstalled everything
nothing same error
copy past of error
(venv_vibe) D:\video\3\4>python demo_alter.py --vid_file sample_video.mp4 --output_folder output/ --display
Running "ffmpeg -i sample_video.mp4 -f image2 -v error /tmp\sample_video_mp4/%06d.png"
Traceback (most recent call last):
File "demo_alter.py", line 405, in
I dont know if I'm understanding correctly, but seems like the demo_alter didnt find the sample_video.mp4 file are you running it from the root directory where there is the sample_video.mp4 file?
Asking it just to be sure, because, I dont have an idea of what else could be the problem,,,
yep the same folder where both vibe files where extracted .
Unpack the VIBE github pack to a folder
https://github.com/mkocabas/VIBE/archive/master.zip
unpack the contents of this github to the same folder
https://github.com/carlosedubarreto/vibe_win_install/archive/main.zip
i double checked the the sample video file is in that folder
What about the ffmpeg "installation"? Maybe the script is trying to use ffmepg but you hada problem to add ffmepg library folder on the windows path. So when it tries to run FFMPEG it says that cant find it.
So, please double check the ffmpeg "installation"
with instalation i mean, unpacking the zip file and add the ffmpeg executable folder to windows path.
i had installed frankmocap before so i thought i already had done the step i followed the instruction from the video again and ran into this error
(base) D:\video\3\4>conda activate venv_vibe
(venv_vibe) D:\video\3\4>python demo_alter.py --vid_file sample_video.mp4 --output_folder output/ --display
Running "ffmpeg -i sample_video.mp4 -f image2 -v error /tmp\sample_video_mp4/%06d.png"
Images saved to "/tmp\sample_video_mp4"
Input video number of frames 300
Downloading files from https://pjreddie.com/media/files/yolov3.weights
Traceback (most recent call last):
File "demo_alter.py", line 405, in
deleting and remaking .torch folder fixed the above problem but i ran into a new error.
(venv_vibe) D:\video\3\4>python demo_alter.py --vid_file sample_video.mp4 --output_folder output/ --display
Running "ffmpeg -i sample_video.mp4 -f image2 -v error /tmp\sample_video_mp4/%06d.png"
Images saved to "/tmp\sample_video_mp4"
Input video number of frames 300
Running Multi-Person-Tracker
100%|████████████████████████████████████████████████████████████████████████████████| 100/100 [01:45<00:00, 1.02s/it]
Finished. Detection + Tracking FPS 2.84
Displaying results..
WARNING: You are using a SMPL model, with only 10 shape coefficients.
Downloading: "https://download.pytorch.org/models/resnet50-19c8e357.pth" to C:\Users\Hp/.cache\torch\checkpoints\resnet50-19c8e357.pth
100%|█████████████████████████████████████████████████████████████████████████████| 97.8M/97.8M [00:42<00:00, 2.39MB/s]
WARNING: You are using a SMPL model, with only 10 shape coefficients.
=> loaded pretrained model from 'data/vibe_data\spin_model_checkpoint.pth.tar'
Performance of pretrained model on 3DPW: 56.56075477600098
Loaded pretrained weights from "data/vibe_data/vibe_model_wo_3dpw.pth.tar"
Running VIBE on each tracklet...
0%| | 0/1 [00:00<?, ?it/s]Traceback (most recent call last):
Traceback (most recent call last):
File "
Sorry, I didnt encontered this error before... or I dont remember it. I suggest to take a look at vibes github page, because it seems that it is an issue related to the use of their code. I'm just trying to make easier to install the dependencies...
link to their issue page https://github.com/mkocabas/VIBE/issues
thks mate
I also encountered a similar problem, I am sure I have added the ffmpeg executable folder to windows path.
- Are you running on win10?
- How to delete and recreate the .torch folder? Thank you very much if you can spend your precious time advising you.
Hi @h0000c , sorry for the late answer... Today my day is very busy 😅
I saw your previous question, maybe solving that other problem might resolve this issue you are having here.
I added the answer on the other question, but to help other people in the future, I'll also leave it here https://github.com/carlosedubarreto/vibe_win_install/issues/5
I encountered the same problem, did you solve it?