{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/bags-of-tricks-and-a-strong-baseline-for-deep","title":"Bag of Tricks and A Strong Baseline for Deep Person Re-identification","arxiv_id":"1903.07071","date":"2019-03-17","proceeding":null,"authors":["Hao Luo","Youzhi Gu","Xingyu Liao","Shenqi Lai","Wei Jiang"],"abstract":"This paper explores a simple and efficient baseline for person\nre-identification (ReID). Person re-identification (ReID) with deep neural\nnetworks has made progress and achieved high performance in recent years.\nHowever, many state-of-the-arts methods design complex network structure and\nconcatenate multi-branch features. In the literature, some effective training\ntricks are briefly appeared in several papers or source codes. This paper will\ncollect and evaluate these effective training tricks in person ReID. By\ncombining these tricks together, the model achieves 94.5% rank-1 and 85.9% mAP\non Market1501 with only using global features. Our codes and models are\navailable at https://github.com/michuanhaohao/reid-strong-baseline.","url_abs":"http://arxiv.org/abs/1903.07071v3","url_pdf":"http://arxiv.org/pdf/1903.07071v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"bags-of-tricks-and-a-strong-baseline-for-deep","repo_url":"https://github.com/michuanhaohao/reid-strong-baseline","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"bags-of-tricks-and-a-strong-baseline-for-deep","repo_url":"https://github.com/bastiennNB/Pair_ReID","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"bags-of-tricks-and-a-strong-baseline-for-deep","repo_url":"https://github.com/lulujianjie/person-reid-tiny-baseline","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"bags-of-tricks-and-a-strong-baseline-for-deep","repo_url":"https://github.com/seominseok0429/vidoe_tracking-Reidentification-Action_recognition_Demo","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"bags-of-tricks-and-a-strong-baseline-for-deep","repo_url":"https://github.com/wenyu1009/pganet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"bags-of-tricks-and-a-strong-baseline-for-deep","repo_url":"https://github.com/zion-king/Deep-Learning-for-Person-Re-identification","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"bags-of-tricks-and-a-strong-baseline-for-deep","repo_url":"https://github.com/PaddlePaddle/PaddleClas/blob/release/2.5/docs/zh_CN/algorithm_introduction/ReID.md","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"paddle","reach":null},{"paper_slug":"bags-of-tricks-and-a-strong-baseline-for-deep","repo_url":"https://github.com/layumi/Person_reID_baseline_pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"person-re-identification","task_name":"Person Re-Identification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/person-re-identification-on-dukemtmc-reid","task":"Person Re-Identification","dataset":"DukeMTMC-reID","model":"BoT Baseline(RK)","rank_in_archive_order":14,"of":94,"metrics":{"Rank-1":"90.2","mAP":"89.1"},"uses_additional_data":false},{"leaderboard":"/sota/person-re-identification-on-msmt17-c","task":"Person Re-Identification","dataset":"MSMT17-C","model":"BoT (ResNet-50)","rank_in_archive_order":4,"of":5,"metrics":{" Rank-1":"20.20"," mAP":"5.28"," mINP":"0.07"},"uses_additional_data":false},{"leaderboard":"/sota/person-re-identification-on-market-1501","task":"Person Re-Identification","dataset":"Market-1501","model":"BoT Baseline(RK)","rank_in_archive_order":56,"of":135,"metrics":{"Rank-1":"95.43","mAP":"94.24"},"uses_additional_data":false},{"leaderboard":"/sota/person-re-identification-on-market-1501-c","task":"Person Re-Identification","dataset":"Market-1501-C","model":"BoT (ResNet-50)","rank_in_archive_order":20,"of":22,"metrics":{" Rank-1":"27.05"," mAP":"8.42"," mINP":"0.20"},"uses_additional_data":false},{"leaderboard":"/sota/person-re-identification-on-uav-human","task":"Person Re-Identification","dataset":"UAV-Human","model":"Tricks","rank_in_archive_order":2,"of":4,"metrics":{" Rank-1":"62.48"," Rank-5":"84.38","mAP":"63.41"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/1903.07071","atlas_url":"https://app.syntology.ai/?focus=1903.07071","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1903.07071"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/bastiennNB/Pair_ReID","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/zion-king/Deep-Learning-for-Person-Re-identification","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/seominseok0429/vidoe_tracking-Reidentification-Action_recognition_Demo","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/PaddlePaddle/PaddleClas/blob/release/2.5/docs/zh_CN/algorithm_introduction/ReID.md","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/wenyu1009/pganet","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/layumi/Person_reID_baseline_pytorch","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lulujianjie/person-reid-tiny-baseline","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/michuanhaohao/reid-strong-baseline","reach":{"status":"unanswered"}}],"summary":{"ran_draft_wrong":2,"ran":2,"unverified":4},"by_repo_kind":{"listed":{"samples":8,"ran":4,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"c83d9f7fca950b77","entry":"euclidean_dist","repo":"lulujianjie/person-reid-tiny-baseline","repo_kind":"listed","path":"loss/triplet_loss.py","file_url":"https://github.com/lulujianjie/person-reid-tiny-baseline/blob/HEAD/loss/triplet_loss.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c83d9f7fca950b77"}},{"code_sha256_prefix":"e3b2a83f52101f2d","entry":"normalize","repo":"lulujianjie/person-reid-tiny-baseline","repo_kind":"listed","path":"loss/triplet_loss.py","file_url":"https://github.com/lulujianjie/person-reid-tiny-baseline/blob/HEAD/loss/triplet_loss.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e3b2a83f52101f2d"}},{"code_sha256_prefix":"84d4b3637b0b4b2d","entry":"train_collate_fn","repo":"lulujianjie/person-reid-tiny-baseline","repo_kind":"listed","path":"datasets/make_dataloader.py","file_url":"https://github.com/lulujianjie/person-reid-tiny-baseline/blob/HEAD/datasets/make_dataloader.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"84d4b3637b0b4b2d"}},{"code_sha256_prefix":"236a60a4db5abeb0","entry":"val_collate_fn","repo":"lulujianjie/person-reid-tiny-baseline","repo_kind":"listed","path":"datasets/make_dataloader.py","file_url":"https://github.com/lulujianjie/person-reid-tiny-baseline/blob/HEAD/datasets/make_dataloader.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"236a60a4db5abeb0"}},{"code_sha256_prefix":"93f2c0b80ea7f36e","entry":"hard_example_mining","repo":"lulujianjie/person-reid-tiny-baseline","repo_kind":"listed","path":"loss/triplet_loss.py","file_url":"https://github.com/lulujianjie/person-reid-tiny-baseline/blob/HEAD/loss/triplet_loss.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"93f2c0b80ea7f36e"}},{"code_sha256_prefix":"618f7837c08190dd","entry":"make_dataloader","repo":"lulujianjie/person-reid-tiny-baseline","repo_kind":"listed","path":"datasets/make_dataloader.py","file_url":"https://github.com/lulujianjie/person-reid-tiny-baseline/blob/HEAD/datasets/make_dataloader.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"618f7837c08190dd"}},{"code_sha256_prefix":"4006e936d30ac573","entry":"make_loss","repo":"lulujianjie/person-reid-tiny-baseline","repo_kind":"listed","path":"loss/make_loss.py","file_url":"https://github.com/lulujianjie/person-reid-tiny-baseline/blob/HEAD/loss/make_loss.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4006e936d30ac573"}},{"code_sha256_prefix":"5f1101145f896208","entry":"read_image","repo":"lulujianjie/person-reid-tiny-baseline","repo_kind":"listed","path":"datasets/bases.py","file_url":"https://github.com/lulujianjie/person-reid-tiny-baseline/blob/HEAD/datasets/bases.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5f1101145f896208"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}