-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stage-I training problem #56
Comments
Change |
It runs 6 hours and doesn't stop, is it OK? |
Well, that depends on what you're looking for. What is your batch size? |
I ran the original code on the birds data(about 600 batches). |
600 batches? I think you mean Epochs. For me, it took about a day to train with a batch size of 64 on my NVIDIA 1080 Ti GPU. If you want to train StackGAN on original data (both images and captions), you need to create your own char-CNN-RNN or skip-thoughts embeddings |
can anyone please provide me the weights of stage1 |
Please switch to tf.summary.FileWriter. The interface and behavior is the same; this is just a rename.
Traceback (most recent call last): |ETA: --:--:--
File "stageI/run_exp.py", line 78, in
algo.train()
File "/data/sdv1/WLL/StackGAN/stageI/trainer.py", line 346, in train
num_embedding)
File "/data/sdv1/WLL/StackGAN/misc/datasets.py", line 144, in next_batch
sampled_images = self.transform(sampled_images)
File "/data/sdv1/WLL/StackGAN/misc/datasets.py", line 78, in transform
images[i][w1: w1 + self._imsize, h1: h1 + self._imsize, :]
TypeError: slice indices must be integers or None or have an index method
The text was updated successfully, but these errors were encountered: