{"id":28296214,"url":"https://github.com/zjykzj/crow-pytorch","last_synced_at":"2026-05-01T00:31:47.076Z","repository":{"id":37766638,"uuid":"506215879","full_name":"zjykzj/crow-pytorch","owner":"zjykzj","description":"[ECCV 2016] Cross-dimensional weighting for aggregated deep convolutional features. ","archived":false,"fork":false,"pushed_at":"2022-06-27T12:15:09.000Z","size":80,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T10:42:24.417Z","etag":null,"topics":["crow","pytorch"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zjykzj.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}},"created_at":"2022-06-22T11:22:04.000Z","updated_at":"2022-07-13T05:00:07.000Z","dependencies_parsed_at":"2022-09-16T11:00:53.194Z","dependency_job_id":null,"html_url":"https://github.com/zjykzj/crow-pytorch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zjykzj/crow-pytorch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjykzj%2Fcrow-pytorch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjykzj%2Fcrow-pytorch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjykzj%2Fcrow-pytorch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjykzj%2Fcrow-pytorch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zjykzj","download_url":"https://codeload.github.com/zjykzj/crow-pytorch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjykzj%2Fcrow-pytorch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32481553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"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":["crow","pytorch"],"created_at":"2025-05-22T20:13:03.774Z","updated_at":"2026-05-01T00:31:47.040Z","avatar_url":"https://github.com/zjykzj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"right\"\u003e\n  Language:\n    🇺🇸\n  \u003ca title=\"Chinese\" href=\"./README.zh-CN.md\"\u003e🇨🇳\u003c/a\u003e\n\u003c/div\u003e\n\n \u003cdiv align=\"center\"\u003e\u003ca title=\"\" href=\"https://github.com/zjykzj/crow-pytorch\"\u003e\u003cimg align=\"center\" src=\"./imgs/CroW.png\"\u003e\u003c/a\u003e\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  «crow-pytorch» uses Pytorch to reproduce the CroW implementation.\n\u003cbr\u003e\n\u003cbr\u003e\n  \u003ca href=\"https://github.com/RichardLitt/standard-readme\"\u003e\u003cimg src=\"https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://conventionalcommits.org\"\u003e\u003cimg src=\"https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"http://commitizen.github.io/cz-cli/\"\u003e\u003cimg src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Table of Contents\n\n- [Table of Contents](#table-of-contents)\n- [Background](#background)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Maintainers](#maintainers)\n- [Thanks](#thanks)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Background\n\n[CroW](https://arxiv.org/abs/1512.04065) provides a general convolution feature extraction framework, and proposes parameterless spatial weighting and channel weighting algorithms. In addition, a very detailed implementation is provided - [YahooArchive/crow](https://github.com/YahooArchive/crow).\n\nThe official implementation is based on [caffe2](https://caffe2.ai/), but the most popular deep reasoning framework at present is [pytorch](http://caffe.berkeleyvision.org/). In order to better understand the implementation of CroW, I try to replace the implementation of caffe in the warehouse with pytorch.\n\n## Installation\n\n```shell\npip install -r requirements.txt\n```\n\n## Usage\n\n1. Get data\n\n```shell\nbash oxford/get_oxford.sh\nbash paris/get_paris.sh\n```\n\n2. Extract features\n\n```shell\npython extract_features.py --images oxford/data/* --out oxford/layer4 --layer layer4\npython extract_features.py --images paris/data/* --out paris/layer4 --layer layer4\npython extract_queries.py --dataset oxford --images data --groundtruth groundtruth --layer layer4\n```\n\n3. Compile eval tool\n\n```shell\ng++ -O compute_ap.cpp -o compute_ap\n```\n\n4. Evaluate\n\n```shell\npython evaluate.py --queries oxford/layer4_queries --groundtruth oxford/groundtruth --index_features oxford/layer4 --wt crow --dw 3 --whiten_features paris/layer4 --d 512 --qe 3\n```\n\n## Maintainers\n\n* Clayton Mellina - *Initial work* - [pumpikano](https://github.com/pumpikano)\n* zhujian - *Enhance work* - [zjykzj](https://github.com/zjykzj)\n\n## Thanks\n\n* [YahooArchive/crow](https://github.com/YahooArchive/crow)\n\n## Contributing\n\nAnyone's participation is welcome! Open an [issue](https://github.com/zjykzj/crow-pytorch/issues) or submit PRs.\n\nSmall note:\n\n* Git submission specifications should be complied\n  with [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0-beta.4/)\n* If versioned, please conform to the [Semantic Versioning 2.0.0](https://semver.org) specification\n* If editing the README, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme)\n  specification.\n\n## License\n\n[Apache License 2.0](LICENSE) © 2022 zjykzj","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzjykzj%2Fcrow-pytorch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzjykzj%2Fcrow-pytorch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzjykzj%2Fcrow-pytorch/lists"}