We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
您好,我在运行_test.py的时候,会出现如下报错, Traceback (most recent call last): File "F:\code\Deep-Learning-PanSharpening-main_test.py", line 293, in fused_image = model.predict(used_ms[:, :, :], used_pan[:, :, :]) File "F:\code\Deep-Learning-PanSharpening-main\model\base_model.py", line 298, in predict X = X.reshape(1, mul_channel, clip_size, clip_size) ValueError: cannot reshape array of size 0 into shape (1,4,128,128)
我在base_model.py中输出了array_data_batch.shape,发现某一次循环中,输出结果为(129,0,4) 请问怎么解决呢?十分感谢
The text was updated successfully, but these errors were encountered:
No branches or pull requests
您好,我在运行_test.py的时候,会出现如下报错,
Traceback (most recent call last):
File "F:\code\Deep-Learning-PanSharpening-main_test.py", line 293, in
fused_image = model.predict(used_ms[:, :, :], used_pan[:, :, :])
File "F:\code\Deep-Learning-PanSharpening-main\model\base_model.py", line 298, in predict
X = X.reshape(1, mul_channel, clip_size, clip_size)
ValueError: cannot reshape array of size 0 into shape (1,4,128,128)
我在base_model.py中输出了array_data_batch.shape,发现某一次循环中,输出结果为(129,0,4)
请问怎么解决呢?十分感谢
The text was updated successfully, but these errors were encountered: