pydsgz/DeepVOG

ValueError

gabriellamiles opened this issue · 0 comments

I've managed to run the code on the demo versions successfully. I then tried to use my own video (in .mp4 format) and receive this error:

ValueError: No way to determine width or height from video. Need -sininputdict. Consult documentation on I/O.

I'm not sure whether my understanding of the documentation is wrong. I believe I have set the video size and sensor size correctly, and don't fully understand the above error. I have tried running the program using:

python -m deepvog --fit ./output.mp4 ./demo_eyeball_model.json -v ./demo_visualization_fitting.mp4 -b 32

as well as one command I found in the readme:

python -m deepvog --fit ./output.mp4 ./demo_eyeball_model.json --flen 12 -vs 300,400 -s 0.005,0.005 -b 32

Do you have any advice you could offer?