{"id":21664632,"url":"https://github.com/benediktalkin/pytorch-ada","last_synced_at":"2026-05-20T09:06:41.879Z","repository":{"id":204056911,"uuid":"710996727","full_name":"BenediktAlkin/pytorch-ada","owner":"BenediktAlkin","description":"Adaptive Discriminator Augmentation","archived":false,"fork":false,"pushed_at":"2023-10-28T01:11:36.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T06:19:57.882Z","etag":null,"topics":["adaptive-discriminator-augmentation","computer-vision","gan","stylegan","stylegan2","stylegan2-ada"],"latest_commit_sha":null,"homepage":"","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/BenediktAlkin.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":"2023-10-27T23:19:47.000Z","updated_at":"2025-03-12T16:56:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"3aa15966-655c-4d37-a89a-f8988951c461","html_url":"https://github.com/BenediktAlkin/pytorch-ada","commit_stats":null,"previous_names":["benediktalkin/pytorch-ada"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BenediktAlkin/pytorch-ada","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenediktAlkin%2Fpytorch-ada","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenediktAlkin%2Fpytorch-ada/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenediktAlkin%2Fpytorch-ada/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenediktAlkin%2Fpytorch-ada/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenediktAlkin","download_url":"https://codeload.github.com/BenediktAlkin/pytorch-ada/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenediktAlkin%2Fpytorch-ada/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33253077,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T04:48:54.280Z","status":"ssl_error","status_checked_at":"2026-05-20T04:48:10.851Z","response_time":356,"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":["adaptive-discriminator-augmentation","computer-vision","gan","stylegan","stylegan2","stylegan2-ada"],"created_at":"2024-11-25T10:41:19.397Z","updated_at":"2026-05-20T09:06:41.863Z","avatar_url":"https://github.com/BenediktAlkin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Adaptive Discriminator Augmentation for pytorch\n\nStandalone implementation of [Adaptive Discriminator Augmentation](https://arxiv.org/abs/2006.06676). \nBased on the [stylegan2-ada-pytorch](https://github.com/NVlabs/stylegan2-ada-pytorch) repository.\n\n# Setup\n`pip install git+https://github.com/BenediktAlkin/pytorch-ada`\n\n# Usage\n\n```python\nimport torch\nfrom ada import AdaptiveDiscriminatorAugmentation\n\n# create augmentation pipeline\naug = AdaptiveDiscriminatorAugmentation(\n    xflip=1, \n    rotate90=1,\n    xint=1, \n    scale=1, \n    rotate=1, \n    aniso=1,\n    xfrac=1, \n    brightness=1, \n    contrast=1, \n    lumaflip=1,\n    hue=1, \n    saturation=1,\n)\n# create 4 RGB images with 32x32 resolution\nx = torch.randn(4, 3, 32, 32)\n# augment images\naugmented = aug(x)\n# adjust strength\naug.set_p(0.5)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenediktalkin%2Fpytorch-ada","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenediktalkin%2Fpytorch-ada","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenediktalkin%2Fpytorch-ada/lists"}