logo
Loading...

執行程式產生[WinError 3] 系統找不到指定的路徑。: 'dataset/training_set'? - Cupoy

# 將路徑給 Generator,自動產生 Labeltraining_set = train_da...

執行程式產生[WinError 3] 系統找不到指定的路徑。: 'dataset/training_set'?

2020/06/30 03:27 AM
電腦視覺深度學習論壇
鄭Sinclair
觀看數:0
回答數:3
收藏數:0

# 將路徑給 Generator,自動產生 Label

training_set = train_datagen.flow_from_directory('dataset/training_set',

                                                 target_size=(64, 64),

                                                 batch_size=32,

                                                 class_mode='categorical')


test_set = test_datagen.flow_from_directory('dataset/test_set',

                                            target_size=(64, 64),

                                            batch_size=32,

                                            class_mode='categorical')

FileNotFoundError: [WinError 3] 系統找不到指定的路徑。: 'dataset/training_set'
該如何調整? 謝謝老師指導