Comments (8)
Hi,
open the dataloader.py file
and, add
elif dataset == 'AWA':
data_loader = DataLoader(
datasets.ImageFolder('data/AWA', transform=transform),
batch_size=batch_size, shuffle=True)
then, open main.py
and modify this line:
parser.add_argument('--dataset', type=str, default='mnist', choices=[ 'mnist', 'fashion-mnist', 'cifar10', 'cifar100', 'svhn', 'stl10', 'lsun-bed'],
to, parser.add_argument('--dataset', type=str, default='mnist', choices=['AWA', 'mnist', 'fashion-mnist', 'cifar10', 'cifar100', 'svhn', 'stl10', 'lsun-bed'],
from pytorch-generative-model-collections.
Do the images have to be in a specific format or size.
Thanks in advance
from pytorch-generative-model-collections.
Hi,
open the dataloader.py file
and, addelif dataset == 'AWA':
data_loader = DataLoader(
datasets.ImageFolder('data/AWA', transform=transform),
batch_size=batch_size, shuffle=True)then, open main.py
and modify this line:
parser.add_argument('--dataset', type=str, default='mnist', choices=[ 'mnist', 'fashion-mnist', 'cifar10', 'cifar100', 'svhn', 'stl10', 'lsun-bed'],to, parser.add_argument('--dataset', type=str, default='mnist', choices=['AWA', 'mnist', 'fashion-mnist', 'cifar10', 'cifar100', 'svhn', 'stl10', 'lsun-bed'],
Do the images have to be in a specific format or size.
Thanks in advance
from pytorch-generative-model-collections.
No, I don't think so. Please go ahead and use your dataset.. please reply back, if you encounter any problem related to image size
from pytorch-generative-model-collections.
Okay I will try soon.
I have a dataset of my own JPG images. These images are of strawberries. The image I want to generate is of strawberries.
My images are in colour, will this affect training on this GitHub. Do I need to change to gray-scale.
Finally @ArghyaPal have you successfully trained this model on your dataset? Any help would be greatly appreciated.
Thanks in advance!
from pytorch-generative-model-collections.
No, I don't think so. Please go ahead and use your dataset.. please reply back, if you encounter any problem related to image size
Hi, I'm currently getting the following error.
Even though my images are jpg as shown in the image below. Any help would be appreicated.
from pytorch-generative-model-collections.
I managed to fix this issue by placing them in another folder called 1, so my directory is now, data/strawberriesBlack/1/B(1).jpg
However, my results are completely blank after 50 epochs on GAN
My dataset is currently coloured, do you think I should change to grayscale?
How big should said dataset actually be?
Thanks in advance
from pytorch-generative-model-collections.
@ArghyaPal I am having issues with either size or color scaling with these models, . I am trying to run color images of ships through GAN but I get shape errors (see issue 25). Is there a fix to this?
from pytorch-generative-model-collections.
Related Issues (20)
- Doubt in ACGAN HOT 3
- Questions about training ACGAN HOT 1
- How can I use the celebA dataset? HOT 1
- question about wgan-gp
- bug for infoGAN when change data to celebA
- Can you create an implementation of a BiGAN/AliGAN?
- How to run custom dataset with CGAN? HOT 1
- An error occurs. HOT 1
- ACGAN for CIFAR10 Performance
- I managed to fix this issue by placing them in another folder called 1, so my directory is now, data/strawberriesBlack/1/B(1).jpg HOT 1
- Size issue from running custom dataset HOT 1
- No mode collapse in ACGAN (pytorch)
- Supported extensions are: .jpg,.jpeg,.png,.ppm,.bmp,.pgm,.tif,.tiff,.webp HOT 1
- How to trian with multiple gpu?
- can you add hinge loss
- [bug report] wrong implementation of gradient clip in WGAN? HOT 1
- RuntimeError: output with shape [1, 28, 28] doesn't match the broadcast shape [3, 28, 28] HOT 1
- RuntimeError: output with shape [1, 28, 28] doesn't match the broadcast shape [3, 28, 28] HOT 2
- InfoGAN can not run because of the pytorch version problem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch-generative-model-collections.