{"id":13578894,"url":"https://github.com/durandtibo/wildcat.pytorch","last_synced_at":"2025-04-09T11:11:31.011Z","repository":{"id":53832454,"uuid":"96539347","full_name":"durandtibo/wildcat.pytorch","owner":"durandtibo","description":"PyTorch implementation of \"WILDCAT: Weakly Supervised Learning of Deep ConvNets for Image Classification, Pointwise Localization and Segmentation\", CVPR 2017","archived":false,"fork":false,"pushed_at":"2023-08-14T17:37:24.000Z","size":18,"stargazers_count":266,"open_issues_count":12,"forks_count":61,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-02T09:06:40.351Z","etag":null,"topics":["convnet","cvpr-2017","cvpr17","cvpr2017","deep-learning","image-classification","pytorch","weakly-supervised-learning"],"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/durandtibo.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}},"created_at":"2017-07-07T13:05:46.000Z","updated_at":"2025-03-03T20:48:18.000Z","dependencies_parsed_at":"2024-01-16T20:50:22.316Z","dependency_job_id":null,"html_url":"https://github.com/durandtibo/wildcat.pytorch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durandtibo%2Fwildcat.pytorch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durandtibo%2Fwildcat.pytorch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durandtibo%2Fwildcat.pytorch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durandtibo%2Fwildcat.pytorch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/durandtibo","download_url":"https://codeload.github.com/durandtibo/wildcat.pytorch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248027411,"owners_count":21035594,"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":["convnet","cvpr-2017","cvpr17","cvpr2017","deep-learning","image-classification","pytorch","weakly-supervised-learning"],"created_at":"2024-08-01T15:01:34.812Z","updated_at":"2025-04-09T11:11:30.995Z","avatar_url":"https://github.com/durandtibo.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# wildcat.pytorch\nPyTorch implementation of \"WILDCAT: Weakly Supervised Learning of Deep ConvNets for Image Classification, Pointwise Localization and Segmentation\", CVPR 2017 (http://webia.lip6.fr/~durandt/pdfs/2017_CVPR/Durand_WILDCAT_CVPR_2017.pdf)\n\n### Requirements\nPlease, install the following packages\n- numpy\n- torch\n- torchnet\n- torchvision\n- tqdm\n\n### Options\n\n- `k`: number of regions for the spatial pooling. If `k` is larger than 1, `k` is the number of regions, otherwise `k` is the proportion of selected regions. `k=0.2` means that 20% of the regions are used.  \n- `maps`: number of maps for each class\n- `alpha`: weight for minimum regions\n- `lr`: learning rate\n- `lrp`: factor for learning rate of pretrained layers. The learning rate of the pretrained layers is `lr * lrp`\n- `batch-size`: number of images per batch\n- `image-size`: size of the image\n- `epochs`: number of training epochs\n\n### Demo VOC 2007\n```sh\npython3 -m wildcat.demo_voc2007 ../data/voc --image-size 448 --batch-size 16 --lrp 0.1 --lr 0.01 --epochs 20 --k 0.2 --maps 8 --alpha 0.7\n```\n\n### Demo MIT67\n```sh\npython3 -m wildcat.demo_mit67 ../data/mit67 --image-size 448 --batch-size 16 --lrp 0.1 --lr 0.001 --epochs 20 --k 0.4 --maps 8\n```\n\n## Citing this repository\n\nIf you find this code useful in your research, please consider citing us:\n\n```\n@inproceedings{Durand_WILDCAT_CVPR_2017,\nauthor = {Durand, Thibaut and Mordan, Taylor and Thome, Nicolas and Cord, Matthieu},\ntitle = {{WILDCAT: Weakly Supervised Learning of Deep ConvNets for Image Classification, Pointwise Localization and Segmentation}},\nbooktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},\nyear = {2017}\n}\n```\n\n## Licence\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdurandtibo%2Fwildcat.pytorch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdurandtibo%2Fwildcat.pytorch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdurandtibo%2Fwildcat.pytorch/lists"}