7  
查询码: 00000154
ValueError win_size exceeds image extent. Either ensure that your images
专家 作者: 李亚东 于 2024年12月31日 ,于 2025年05月14日 编辑

ValueError: win_size exceeds image extent. Either ensure that your images are at least 7x7; or pass win_size explicitly in the function call, with an odd value less than or equal to the smaller side of your images. If your images are multichannel (with color channels), set channel_axis to the axis number corresponding to the channels.
0
pip install scikit-image==0.19.3
0
vim /home/haiguang_test/torch-ngp/nerf/utils.py +43
调用structural_similarity方法时,改成下面这样:
return structural_similarity(gt, img, win_size=win_size,channel_axis=2,data_range=-1)
0
笔记



天数智芯知识库系统 -V 5.2.6 -wcp