Skip to content
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

Rerun Error #2

Open
water-wbq opened this issue Jul 5, 2023 · 0 comments
Open

Rerun Error #2

water-wbq opened this issue Jul 5, 2023 · 0 comments

Comments

@water-wbq
Copy link

Hi,
我在运行您的代码时(没有做任何改动),报了这个错误,该如何解决,为什么会指示image的问题?

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.

谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant