{"id":17948954,"url":"https://github.com/hysts/pytorch_cutout","last_synced_at":"2025-10-09T20:21:02.786Z","repository":{"id":110138704,"uuid":"115172743","full_name":"hysts/pytorch_cutout","owner":"hysts","description":"A PyTorch implementation of Cutout","archived":false,"fork":false,"pushed_at":"2018-06-02T01:18:09.000Z","size":489,"stargazers_count":16,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T18:43:35.351Z","etag":null,"topics":["cifar10","computer-vision","pytorch"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hysts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-23T05:22:21.000Z","updated_at":"2025-03-11T23:11:06.000Z","dependencies_parsed_at":"2023-04-04T02:00:21.229Z","dependency_job_id":null,"html_url":"https://github.com/hysts/pytorch_cutout","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hysts/pytorch_cutout","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hysts%2Fpytorch_cutout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hysts%2Fpytorch_cutout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hysts%2Fpytorch_cutout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hysts%2Fpytorch_cutout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hysts","download_url":"https://codeload.github.com/hysts/pytorch_cutout/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hysts%2Fpytorch_cutout/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002015,"owners_count":26083258,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cifar10","computer-vision","pytorch"],"created_at":"2024-10-29T09:10:48.124Z","updated_at":"2025-10-09T20:21:02.770Z","avatar_url":"https://github.com/hysts.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyTorch Implementation of Cutout\n\n![](figures/sample.png)\n\n## Usage\n\n```\n$ python main.py --block_type basic --depth 110 --use_cutout --cutout_size 16 --cutout_prob 1 --outdir results\n```\n\n\n## Results on CIFAR-10\n\n| Model                       | Test Error (median of 5 runs) | Training Time |\n|:----------------------------|:-----------------------------:|--------------:|\n| ResNet-preact-56 w/o Cutout | 5.85                          |    98 min     |\n| ResNet-preact-56 w/ Cutout  | 4.96                          |    98 min     |\n\n### w/o Cutout\n```\n$ python -u main.py --depth 56 --block_type basic --base_lr 0.2 --seed 7 --outdir results/wo_cutout/00\n```\n\n![](figures/wo_cutout.png)\n\n### w/ Cutout\n```\n$ python -u main.py --depth 56 --block_type basic --base_lr 0.2 --use_cutout --cutout_size 16 --cutout_prob 1 --seed 7 --outdir results/w_cutout/00\n```\n\n![](figures/w_cutout.png)\n\n\n## References\n\n* DeVries, Terrance, and Graham W. Taylor. \"Improved regularization of convolutional neural networks with cutout.\" arXiv preprint arXiv:1708.04552 (2017). [arXiv:1708.04552]( https://arxiv.org/abs/1708.04552 ), [PyTorch implementation]( https://github.com/uoguelph-mlrg/Cutout )\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhysts%2Fpytorch_cutout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhysts%2Fpytorch_cutout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhysts%2Fpytorch_cutout/lists"}