pythonlessons / mltu

Machine Learning Training Utilities (for TensorFlow and PyTorch)
MIT License
160 stars 100 forks source link

ValueError: Failed to find data adapter that can handle input: <class 'mltu.dataProvider.DataProvider'>, <class 'NoneType'> #43

Open walido13 opened 4 months ago

walido13 commented 4 months ago

hey i get stucked with this issue when i doing the training

image

my dataset : image

path : image

folders : image

maybe this can help you for understanding: image

please help me !!

pythonlessons commented 4 months ago

Hey, you receive NoneType at some point. Try to iterate whole dataset with same way:

for data in train_data_provider:
    print(data[0].shape, data[1].shape)

something is not ok with data

walido13 commented 4 months ago

i get this

image

walido13 commented 4 months ago

so what do you think ?

pythonlessons commented 4 months ago

Everything is ok, Did you iterate the whole dataset?

walido13 commented 4 months ago

yeah here image