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
0
Traceback (most recent call last):
File "/mnt/workspace/A-EarthForcast/MAU-master/MAU_run.py", line 148, in <module>
train_wrapper(model)
File "/mnt/workspace/A-EarthForcast/MAU-master/MAU_run.py", line 108, in train_wrapper
trainer.test(model, val_input_handle, args, itr)
File "/mnt/workspace/A-EarthForcast/MAU-master/core/trainer.py", line 112, in test
score += compare_ssim(x[b, :], gx[b, :], multichannel=True)
File "/home/pai/lib/python3.9/site-packages/skimage/metrics/_structural_similarity.py", line 178, in structural_similarity
raise ValueError(
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.
谢谢!
The text was updated successfully, but these errors were encountered:
Hi,
我在运行您的代码时(没有做任何改动),报了这个错误,该如何解决,为什么会指示image的问题?
谢谢!
The text was updated successfully, but these errors were encountered: