---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
Cell In[11], line 1
----> 1 trX, trY, valX, valY, testX, testY = get_data("spots_data", include_test=True)
File ~/miniconda3/envs/spotiflow/lib/python3.10/site-packages/spotiflow/utils/utils.py:273, in get_data(path, normalize, include_test)
271 test_path = path/"test"
272 assert (train_path).exists(), f"Given data path {path} does not contain a 'train' folder!"
--> 273 assert (val_path).exists(), f"Given data path {path} does not contain a 'val' folder!"
274 if include_test:
275 assert (test_path).exists(), f"Given data path {path} does not contain a 'test' folder!"
AssertionError: Given data path spots_data does not contain a 'val' folder!
The docs specifies a
validation
folder instead of theval
folder.is the correct format. Else you get this error: