{"id":18264560,"url":"https://github.com/modeltc/imagenet-s","last_synced_at":"2026-03-05T20:53:13.045Z","repository":{"id":103144614,"uuid":"394143969","full_name":"ModelTC/Imagenet-S","owner":"ModelTC","description":"Robustness for real-world system noise","archived":false,"fork":false,"pushed_at":"2022-03-22T07:49:22.000Z","size":4188,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-04T10:16:40.109Z","etag":null,"topics":[],"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/ModelTC.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-09T04:06:56.000Z","updated_at":"2022-04-07T06:40:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f99c3d4-c20d-4941-aef7-0f97175908d6","html_url":"https://github.com/ModelTC/Imagenet-S","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ModelTC/Imagenet-S","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModelTC%2FImagenet-S","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModelTC%2FImagenet-S/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModelTC%2FImagenet-S/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModelTC%2FImagenet-S/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ModelTC","download_url":"https://codeload.github.com/ModelTC/Imagenet-S/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModelTC%2FImagenet-S/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30149889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-05T11:15:05.971Z","updated_at":"2026-03-05T20:53:13.019Z","avatar_url":"https://github.com/ModelTC.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ImageNet-S\nRobustness for real-world system noise\n\n## Usage 1 --\u003e Generate dataset on file system\n    from imagenet_s_gen import ImageTransfer\n    ImageTransfer(root_dir='/your/val/images/root/path', meta_file='/meta/val.txt',\n                  save_root='/your/save/root/path', decoder_type='pil',\n                  transform_type='val', resize_type='pil-bilinear').write_to_filesystem()\n\n## Usage 2 --\u003e Generate one image real time (recommend)\n    from imagenet_s_gen import ImageTransfer\n    image_gen = ImageTransfer(root_dir='/your/val/images/root/path', meta_file='/meta/val.txt',\n                save_root='', decoder_type='pil',\n                transform_type='val', resize_type='pil-bilinear')\n    # generate numpy image on index 0\n    numpy_image, label = image_gen.getimage(0)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodeltc%2Fimagenet-s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodeltc%2Fimagenet-s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodeltc%2Fimagenet-s/lists"}