{"id":22354784,"url":"https://github.com/pprp/autorf","last_synced_at":"2025-03-26T12:41:57.495Z","repository":{"id":166665239,"uuid":"445704247","full_name":"pprp/AutoRF","owner":"pprp","description":"AutoRF: Learning Receptive Fields with Spatial Pooling","archived":false,"fork":false,"pushed_at":"2023-05-18T01:35:44.000Z","size":338,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T13:43:55.390Z","etag":null,"topics":[],"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/pprp.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":"2022-01-08T02:23:23.000Z","updated_at":"2024-06-18T03:45:01.000Z","dependencies_parsed_at":"2023-06-01T15:15:57.791Z","dependency_job_id":null,"html_url":"https://github.com/pprp/AutoRF","commit_stats":null,"previous_names":["pprp/autorf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprp%2FAutoRF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprp%2FAutoRF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprp%2FAutoRF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprp%2FAutoRF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pprp","download_url":"https://codeload.github.com/pprp/AutoRF/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245658981,"owners_count":20651519,"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":[],"created_at":"2024-12-04T13:15:16.500Z","updated_at":"2025-03-26T12:41:57.482Z","avatar_url":"https://github.com/pprp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoRF: Auto Learning Receptive Fields with Spatial Pooling\n\nAccepted by International Conference on MultiMedia Modeling 2023\n\n## Introduction\n\nThis repository contains the source code of the paper: AutoRF: Auto Learning Receptive Fields with Spatial Pooling.\n\n## Requirements\n\n- Python 3.7+\n- Cuda 11\n- tensorboardX\n- torch\n- torchvision\n- graphviz\n- numpy\n- thop\n- timm\n\n## Usage\n\n### 1. Clone the repository\n\n```shell\ngit clone https://github.com/pprp/AutoRF.git\n```\n\n### 2. Search\n\n```shell\npython search.py --data /path/to/data --dataset cifar10 --primitives fullpool --model_name rf_p5\n```\n\n### 3. Retrain\n\n```shell\npython tools/retrain.py --model_base 'rf_resnet20' \\\n                        --dataset 'cifar100' \\\n                        --cutout \\\n                        --cutout_length 8 \\\n                        --arch P1 \\\n                        --batch_size 128 \\\n                        --label_smooth \\\n                        --epochs 200 \\\n                        --scheduler 'steplr' \\\n                        --model_name 'rf_resnet20_cifar100_cutout8_bs128_ls_steplr'\n```\n\n\n## Citation\n\n```\n@inproceedings{Dong2023AutoRFAL,\n  title={AutoRF: Auto Learning Receptive Fields with Spatial Pooling},\n  author={Peijie Dong and Xin Niu and Zimian Wei and Hengyue Pan and Dongsheng Li and Zhen Huang},\n  booktitle={Conference on Multimedia Modeling},\n  year={2023}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpprp%2Fautorf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpprp%2Fautorf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpprp%2Fautorf/lists"}