{"id":22877470,"url":"https://github.com/lukel97/cs4404-project-1","last_synced_at":"2026-05-09T19:38:01.422Z","repository":{"id":51143246,"uuid":"151264472","full_name":"lukel97/cs4404-project-1","owner":"lukel97","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-21T15:10:13.000Z","size":188983,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T19:57:47.116Z","etag":null,"topics":["cyclegan","pytorch","tensorflow"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/lukel97.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}},"created_at":"2018-10-02T14:03:54.000Z","updated_at":"2021-05-28T23:17:12.000Z","dependencies_parsed_at":"2022-09-19T05:11:36.879Z","dependency_job_id":null,"html_url":"https://github.com/lukel97/cs4404-project-1","commit_stats":null,"previous_names":["lukel97/cs4404-project-1"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukel97%2Fcs4404-project-1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukel97%2Fcs4404-project-1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukel97%2Fcs4404-project-1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukel97%2Fcs4404-project-1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukel97","download_url":"https://codeload.github.com/lukel97/cs4404-project-1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246476838,"owners_count":20783895,"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":["cyclegan","pytorch","tensorflow"],"created_at":"2024-12-13T15:45:37.937Z","updated_at":"2026-05-09T19:37:56.398Z","avatar_url":"https://github.com/lukel97.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Guide\n\nDownload the datasets first\n\n```bash\n./datasets/download.sh\n```\n\n## Resources\nOriginal repo: [CycleGAN](https://github.com/junyanz/CycleGAN/)\u003cbr/\u003e\nComparing implementations in the following frameworks:\n* Tensorflow\n* PyTorch: [pytorch-CycleGAN-and-pix2pix](https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix)\n\n### PyTorch\nInstall visdom in order to visualise the training over time:\n```\npip install visdom\npython -m server.visdom\n```\nThe server will be accessible at https://localhost:8097\n\n#### Set up model\nEnter the PyTorch folder using `cd pytorch`.\nDownload datasets:\n``` ./datasets/download_cyclegan_dataset.sh [dataset_name]```\n\nEdit scripts/train_cyclegan.sh with dataset of choice\n```bash\nset -ex\npython3 train.py --dataroot ./datasets/[dataset_name] --name [name] --model cycle_gan --pool_size 50 --no_dropout\n```\nIf your machine is not equipped with an NVIDIA GPU, you can add `--gpu_id -1` to train on the CPU (although this is not recommended and will take a long time). \nCheckpoints and samples are saved in the checkpoint folder.\n\nOur CycleGAN setup took ~20 hours to train over 200 epochs on the summer2winter_yosemite dataset.\n\n![](https://github.com/bubba/cs4404-project-1/blob/master/pytorch/results/summer2winter_yosemite_0.png \"Example 0\")\n![](https://github.com/bubba/cs4404-project-1/blob/master/pytorch/results/summer2winter_yosemite_1.png \"Example 1\")\n![](https://github.com/bubba/cs4404-project-1/blob/master/pytorch/results/summer2winter_yosemite_2.png \"Example 2\")\n![](https://github.com/bubba/cs4404-project-1/blob/master/pytorch/results/summer2winter_yosemite_3.png \"Example 3\")\n\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukel97%2Fcs4404-project-1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukel97%2Fcs4404-project-1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukel97%2Fcs4404-project-1/lists"}