forked from dekvall/dd2424_image_generation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
28 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Datasets | ||
|
||
* Conceptual Captions [link](https://ai.google.com/research/ConceptualCaptions/download) | ||
|
||
* Flickr 30k [link](https://www.kaggle.com/hsankesara/flickr-image-dataset/version/1) | ||
|
||
* TIMIT Speech corpus [link](https://catalog.ldc.upenn.edu/LDC93S1) | ||
|
||
I think that we should use the flickr dataset as the 30k images should really be enough in the limited time we have. | ||
|
||
Once you have downloaded the flickr dataset extract it and run the resize script | ||
that's located in the flickr30k_images folder, from the folder in question | ||
```bash | ||
bash resize_images.sh | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## Running StackGAN | ||
Run StackGAN on GCP from the code folder with | ||
```bash | ||
python2 main.py --cfg cfg/coco_eval.yml --gpu 0 | ||
``` | ||
Contrary to popular belief setting `--gpu 0` here actually refers to the id of the gpu. In most other cases `gpu 0` refers to cpu mode. Weird. | ||
|
||
The generated images will be stored in the `models/coco/netG_epoch_90` directory. |