dsf-cnn icon indicating copy to clipboard operation
dsf-cnn copied to clipboard

AssertionError: assert batch_size <= len(ds)

Open bushra-tayyaba opened this issue 3 years ago • 3 comments

I am getting this error. I have created separate folders for training and validation data. Screenshots are attached below. Kindly help me solve this. Capture_train Capture_valid

Capture2

bushra-tayyaba avatar Jul 14 '21 08:07 bushra-tayyaba

Hi - this error normally comes from the path to the data not being correct. Can you please double check the path to your data. This is specified in the config file here. Can you double check that and get back to me please

simongraham avatar Sep 20 '21 09:09 simongraham

I am getting this error. I have created separate folders for training and validation data. Screenshots are attached below. Kindly help me solve this. Capture_train Capture_valid

Capture2

where is this dataset

hmza312 avatar Oct 17 '21 07:10 hmza312

This means that the paths to the data are not right. You will need to make sure the paths point to the training and validation data directories

simongraham avatar Mar 31 '22 21:03 simongraham