-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Unable to compute metrics for model output/lego #481
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
Comments
same issue. |
I made a simple change, please see #632. |
and another reason is VRAM OOM when the progress bar is interrupted. |
I have solved the problem of 'Unable to compute metrics for model ' by 'pip install torchmetrics', although don't know why, but it does work well. Now I can obtain the metrics. |
你好请问你是怎么解决的 |
你解决了吗 |
我是因为torchvision版本不对,算lpips时vgg网络没下载下来。发自我的荣耀手机-------- 原始邮件 --------发件人: shenqianxiang ***@***.***>日期: 2024年6月26日周三 23:07收件人: graphdeco-inria/gaussian-splatting ***@***.***>抄送: LakeofRain ***@***.***>, Comment ***@***.***>主 题: Re: [graphdeco-inria/gaussian-splatting] Unable to compute metrics for model output/lego (Issue #481)
同样的问题。
你解决了吗
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
I re-found a new environment on my computer with the torch package, ran # Metric evaluation progress: 100%|█████████████████████████████████████████████████████████████████████████| 38/38 [00:39<00:00, 1.05 s/it]
# here
# SSIM : 0.8076466
# PSNR : 21.7869835
# LPIPS: 0.2143032 |
Same. Did you solve this? |
solved!please chekck /home/dkcs/.cache/torch/hub/checkpoints/vgg.pth .... |
|
我换了个torchvision的版本就解决了,没重新训练
在 2025-01-10 10:01:12,"micki-37" ***@***.***> 写道:
我是因为torchvision版本不对,算lpips时vgg网络没下载下来。发自我的荣耀手机-------- 原始邮件 --------发件人: shenqianxiang @.>日期: 2024年6月26日周三 23:07收件人: graphdeco-inria/gaussian-splatting @.>抄送: LakeofRain @.>, Comment @.>主 题: Re: [graphdeco-inria/gaussian-splatting] Unable to compute metrics for model output/lego (Issue #481) 同样的问题。 你解决了吗 —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
我也是vgg网络没下完 重新跑metrics就显示算不了了 但并不会重新下vgg的权重 是得重新训练完重新下vgg吗
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Hello, how did you create this environment? Did you follow the environment.yml file? Were there any modifications? |
你好,换成什么版本了方便问一下吗?谢谢 |
Same issue! I installed the |
right! but i also noticed there are 2 pths totally to download(https://raw.githubusercontent.com/richzhang/PerceptualSimilarity/master/lpips/weights/v0.1/vgg.pth, https://download.pytorch.org/models/vgg16-397923af.pth), them should be downloaded by the script, but in my case, only vgg16-397923af.pth can be downloaded, but not vgg.pth. Finally, just put the two in the checkpoints |
Here is my modification process that allowed me to successfully resolve the issue. The fix primarily involved updating metrics.py to skip hidden directories generated in the file system, though I have not yet investigated the root cause of these hidden
|
Uh oh!
There was an error while loading. Please reload this page.
Hello,everyone!


I trained it on the NeRF-synthetic dataset, and it worked, and it rendered. But when I run python metrics.py -m output/lego, I get an error saying Unable to compute metrics for model output/lego.
Has anyone encountered a similar problem and knew how to solve it?
PS:I was able to compute metrics on the Mip-NeRF360 dataset after colmap.
The text was updated successfully, but these errors were encountered: