-
Notifications
You must be signed in to change notification settings - Fork 0
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
ValueError: Found array with 0 sample(s) (shape=(0, 3)) while a minimum of 1 is required by check_pairwise_arrays. #4
Comments
Sorry for my late reply. And many thanks for your interest to our works! The problem seems to be caused by the start value of the label of the object map. Maybe we are using a different version of the package. Starting from a certain version, the labels of the object map obtained with the slic algorithm will start from 1, not 0. Maybe you can target your code changes based on this. Best regards, |
May I ask, have you solved this problem |
感谢您的工作!
当我想训练train_SRGCAE_Local.py时,出现以下错误:
代码未做任何改动,使用的数据也是下载代码时附带的曙光数据集。请问为何会出现这个错误,该如何解决?谢谢。
我的环境:
python==3.8.13
pytorch==1.11.0
scikit-learn==1.3.0
imageio=2.31.1
numpy==1.23.1
gdal==3.6.2
opencv==4.8.0
The text was updated successfully, but these errors were encountered: