hulinkuang / Cl-SegNet

Cl-SegNet
GNU General Public License v2.0
9 stars 1 forks source link

unable to fetch training data in data #2

Open Ayanzadeh93 opened 7 months ago

Ayanzadeh93 commented 7 months ago

Traceback (most recent call last): File "/nfs/ada/jason/users/jack/stroke/Cl-SegNet/data/Task402_AIS.py", line 127, in train_ids, val_ids = train_test_split(train, test_size=0.118, shuffle=True, random_state=99) File "/home/jack/.conda/envs/pytorch/lib/python3.9/site-packages/sklearn/model_selection/_split.py", line 2422, in train_test_split n_train, n_test = _validate_shuffle_split( File "/home/jack/.conda/envs/pytorch/lib/python3.9/site-packages/sklearn/model_selection/_split.py", line 2098, in _validate_shuffle_split raise ValueError( ValueError: With n_samples=0, test_size=0.118 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.