{"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/counting-out-time-class-agnostic-video-1","title":"Counting Out Time: Class Agnostic Video Repetition Counting in the Wild","arxiv_id":"2006.15418","date":"2020-06-27","proceeding":"CVPR 2020 6","authors":["Debidatta Dwibedi","Yusuf Aytar","Jonathan Tompson","Pierre Sermanet","Andrew Zisserman"],"abstract":"We present an approach for estimating the period with which an action is repeated in a video. The crux of the approach lies in constraining the period prediction module to use temporal self-similarity as an intermediate representation bottleneck that allows generalization to unseen repetitions in videos in the wild. We train this model, called Repnet, with a synthetic dataset that is generated from a large unlabeled video collection by sampling short clips of varying lengths and repeating them with different periods and counts. This combination of synthetic data and a powerful yet constrained model, allows us to predict periods in a class-agnostic fashion. Our model substantially exceeds the state of the art performance on existing periodicity (PERTUBE) and repetition counting (QUVA) benchmarks. We also collect a new challenging dataset called Countix (~90 times larger than existing datasets) which captures the challenges of repetition counting in real-world videos. Project webpage: https://sites.google.com/view/repnet .","url_abs":"https://arxiv.org/abs/2006.15418v1","url_pdf":"https://arxiv.org/pdf/2006.15418v1.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":"counting-out-time-class-agnostic-video-1","repo_url":"https://github.com/materight/RepNet-pytorch","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"counting-out-time-class-agnostic-video-1","repo_url":"https://github.com/confifu/RepNet-Pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"repetitive-action-counting","task_name":"Repetitive Action Counting"}],"methods":[],"datasets_introduced":[{"slug":"countix","name":"Countix","full_name":"Countix"}],"methods_introduced":[],"results":[{"leaderboard":"/sota/repetitive-action-counting-on-countix","task":"Repetitive Action Counting","dataset":"Countix","model":"RepNet","rank_in_archive_order":1,"of":3,"metrics":{"MAE":"0.3641","OBO":"0.3034"},"uses_additional_data":false},{"leaderboard":"/sota/repetitive-action-counting-on-repcount","task":"Repetitive Action Counting","dataset":"RepCount","model":"RepNet","rank_in_archive_order":6,"of":6,"metrics":{"OBO":"0.013"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/2006.15418","atlas_url":"https://app.syntology.ai/?focus=2006.15418","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2006.15418"}},"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/confifu/RepNet-Pytorch","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/materight/RepNet-pytorch","reach":{"status":"ok"}}],"summary":{"ran_honours":1,"ran_violates":1,"ran_draft_wrong":1},"by_repo_kind":{"listed":{"samples":3,"ran":3,"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":3,"samples":[{"code_sha256_prefix":"5010f1e25df94843","entry":"MAE","repo":"confifu/RepNet-Pytorch","repo_kind":"listed","path":"trainLoop.py","file_url":"https://github.com/confifu/RepNet-Pytorch/blob/HEAD/trainLoop.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5010f1e25df94843"}},{"code_sha256_prefix":"f0f4f115fb82bbed","entry":"f1score","repo":"confifu/RepNet-Pytorch","repo_kind":"listed","path":"trainLoop.py","file_url":"https://github.com/confifu/RepNet-Pytorch/blob/HEAD/trainLoop.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f0f4f115fb82bbed"}},{"code_sha256_prefix":"cb106f7ec939c277","entry":"running_mean","repo":"confifu/RepNet-Pytorch","repo_kind":"listed","path":"trainLoop.py","file_url":"https://github.com/confifu/RepNet-Pytorch/blob/HEAD/trainLoop.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cb106f7ec939c277"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}