You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi:
Thanks for your great works. I have a minor question: in your implementation of SSIM metric in https://github.com/SuLvXiangXin/zipnerf-pytorch/blob/main/internal/image.py#L111, you transform image from RGB to single-channel before calculating SSIM. However, according to the original official implementation MultiNeRF: https://github.com/google-research/multinerf/blob/main/internal/image.py#L127, it seems not doing such an operation.
I've tried to replace line ssim = float(structural_similarity(rgb_pred_gray, rgb_gt_gray, data_range=255))
with ssim = float(structural_similarity(rgb_pred, rgb_gt, data_range=255, channel_axis=-1)), and got a slightly lower number in SSIM. For example, drop from 0.6088 to 0.6058.
Any suggestions?
Thanks
The text was updated successfully, but these errors were encountered:
Hi:
Thanks for your great works. I have a minor question: in your implementation of SSIM metric in https://github.com/SuLvXiangXin/zipnerf-pytorch/blob/main/internal/image.py#L111, you transform image from RGB to single-channel before calculating SSIM. However, according to the original official implementation MultiNeRF: https://github.com/google-research/multinerf/blob/main/internal/image.py#L127, it seems not doing such an operation.
I've tried to replace line ssim = float(structural_similarity(rgb_pred_gray, rgb_gt_gray, data_range=255))
with ssim = float(structural_similarity(rgb_pred, rgb_gt, data_range=255, channel_axis=-1)), and got a slightly lower number in SSIM. For example, drop from 0.6088 to 0.6058.
Any suggestions?
Thanks
The text was updated successfully, but these errors were encountered: