ImageDataBunch from df

Hi Guys, I am working on a classification problem and my data has 100 classes (age 1 to age 100)…

I managed to bring the data into following dataframe:


Here full path is the link to image files and age is the label.

After that I am using following codes to create my data:

But its throwing me this error:


Full error is as follows:

Can anyone please tell me how do I solve this issue?

Thanks and Regards

Hey guys, I was able to solve the problem. The problem was square brackets in the beginning and end of the image path.

Once I removed these parentheses using this code, everything seemed to be working fine:

df_age['full_path'] = df_age['full_path'].str.get(0)