{"id":20982290,"url":"https://github.com/nashory/text2image-benchmark","last_synced_at":"2025-05-14T16:31:31.217Z","repository":{"id":89673802,"uuid":"106495990","full_name":"nashory/text2image-benchmark","owner":"nashory","description":"Performance comparison of existing GAN based Text To Image algorithms. (GAN-CLS, StackGAN, TAC-GAN)","archived":false,"fork":false,"pushed_at":"2017-10-25T02:17:40.000Z","size":97,"stargazers_count":29,"open_issues_count":1,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T20:38:31.828Z","etag":null,"topics":["benchmark","generative-adversarial-network","image","tensorflow","text","text2image"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nashory.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-10-11T02:35:34.000Z","updated_at":"2024-06-18T13:28:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"0c5fb397-68f3-43ea-ba47-dfc3926f1621","html_url":"https://github.com/nashory/text2image-benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nashory%2Ftext2image-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nashory%2Ftext2image-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nashory%2Ftext2image-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nashory%2Ftext2image-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nashory","download_url":"https://codeload.github.com/nashory/text2image-benchmark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254182918,"owners_count":22028378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["benchmark","generative-adversarial-network","image","tensorflow","text","text2image"],"created_at":"2024-11-19T05:45:09.088Z","updated_at":"2025-05-14T16:31:30.012Z","avatar_url":"https://github.com/nashory.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# text2image-benchmark\nPerformance comparison of existing GAN based Text To Image algorithms. (GAN-CLS, StackGAN, TAC-GAN)  \n__Note: The codes in algorithms folder is brought from the respective author's repo, not written by me.__\n\n\n## Bug fixed.\n+ StackGAN:  \n    + modified requirements.txt to avoid environemnt conflict.\n    + used tensorflow 1.0.1 version instead of 0.12.0, to avoid `tf.zeros_initializer()` error. \n    + change the argument order of tf.concat to avoid type mismatch error. [[see here]](https://github.com/google/prettytensor/issues/48)\n    + added folder/file creation code to automatically create Data/birds/example_captions.txt file.\n    (please add example sentences to example_captions.txt file, otherwise there will be error.)\n\n+ GAN-CLS:\n\t+ used tensorflow 0.11.0 version instead of 0.12.0, to avoidi `get_variable()` error.\n\t~~~\n\t(you may need to manually do this to install tensorflow 0.11.0 version using pip)\n\texport TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0-cp27-none-linux_x86_64.whl\n\tsudo pip install --upgrade $TF_BINARY_URL\n\t~~~\n\n## How to run?\n+ StackGAN\n~~~\n. venv/bin/activate\npython demo/birds_skip_thought_demo.py --cfg demo/cfg/birds-skip-thought-demo.yml --gpu 0 --caption_path \u003cyour_text_sentences_path\u003e\n~~~\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnashory%2Ftext2image-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnashory%2Ftext2image-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnashory%2Ftext2image-benchmark/lists"}