-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime error in I3D model #7
Comments
Hello! Which version of torch do you use? The version in my env is 1.13.1. Let me know your env then I will try to repeat your issue.
|
pytorch 2.1.1 py3.8_cuda12.1_cudnn8.9.2_0 pytorch |
I haven't tried version > 2 yet, please wait. This may take a long time. |
That's all right. Thanks for your reply. |
sorry, it seems has something wrong with my video tensor. My shape is
It works fine with
|
|
It is not working for me with
For videogpt method, there will be error in line 119 of common_metrics_on_video_quality-main/fvd/videogpt/fvd.py, where the shape of x1 is [1,400] and sigma is a scalar, which will lead to an error with torch.svd(mat)
For styleganv method, I have the same error with the initial post. |
I'm going to keep this issue open until someone else has a similar problem and solves it. |
当且仅当NUMBER_OF_VIDEOS = 8时,才能运行demo.py。换成其他数值都跑不了 |
你好,你的运行环境是?我这里不同视频数量都可以计算的。 |
torch 2.1.0 |
你好,想问一下视频的格式应该是哪一种 |
视频格式应该都支持,不管是avi、mp4还是啥,用opencv之类的读取视频,然后转换为pytorch的tensor就可以了。 Video formats should be supported, whether avi, mp4 or whatever, read the video with opencv and convert it to pytorch tensors. |
In line 27 of the |
Hi! Thanks for your work. I have this error when running demo.py: RuntimeError: forward() is missing value for argument 'x'. Declaration: forward(torch.src.i3dpt_jit.I3D self, Tensor x, bool rescale=False, bool resize=False, bool return_features=False) -> Tensor. It comes from line 27 in fvd/styleganv/fvd.py. It seems that the input is taken as
self' and no value for argument
x'.The text was updated successfully, but these errors were encountered: