將圖片用ImageFolder 轉成dataset,ImageFolder 的類別名稱對應到圖片的資料夾名稱。 再把dataset 轉成dataloader。 data_dir = "../../data/ ...
確定! 回上一頁