2021年5月6日星期四

Dataloader : Training GAN with my own data through pytorch

Here is a link for pytorch DCGAN https://pytorch.org/tutorials/beginner/dcgan_faces_tutorial.html

I want to know I just have some pictures and all of these pics are based in a folder. but the dataloader is equal to 2.

dataroot = "data/celeba"

workers = 2

But My dataroot is below: dataroot ='/content/drive/MyDrive/Colab Notebooks/original data formal/test/PNEUMONIA'

but this codes need to make two folders for running? Anyone who can give me some ideas?

https://stackoverflow.com/questions/67428865/dataloader-training-gan-with-my-own-data-through-pytorch May 07, 2021 at 12:06PM

没有评论:

发表评论