“IsADirectoryError: [Errno 21] Is a directory: ” It is a file

后端 未结 3 1461
抹茶落季
抹茶落季 2020-12-19 02:10

I already split the data into test and training set into the different folder. Now I need to load the patient data. Each patient has 8 images.

def load_datas         


        
3条回答
  •  一个人的身影
    2020-12-19 02:39

    I had the same problem but i resolved by changing my path from Data/Train_Data/myDataset/(my images) to Data/Train_Data/(my images) where the script python is in the same path as Data. Hope this help.

提交回复
热议问题