Giter VIP home page Giter VIP logo

mgfn.'s Introduction

This the official repo of paper accepted in AAAI 2023 Oral

Pretrained models can be downloaded in here:Onedrive

Prepare the environment:

    $pip install -r requirement.txt

gt generate reference github

Test: Download the pretrained model and run $test.py

Dataset Prepare: UCF-crime ten-crop I3D. Rename the data path in ucf-i3d.list and ucf-i3d-test.list based on your data path.

Train: Modify the option.py and run main.py

32 segmented UCF dataset: UCF-crime_ten-crop_I3D_32_seg. Rename the data path in ucf-i3d.list and ucf-i3d-test.list based on your data path.

Train: Use preprocessed flag if using the 32 seg data

Citation

If you find this repo useful for your research, please consider citing our paper:

  @misc{chen2022mgfn,
  title={MGFN: Magnitude-Contrastive Glance-and-Focus Network for Weakly-Supervised Video Anomaly Detection}, 
  author={Yingxian Chen and Zhengzhe Liu and Baoheng Zhang and Wilton Fok and Xiaojuan Qi and Yik-Chung Wu},
  year={2022},
  eprint={2211.15098},
  archivePrefix={arXiv},
  primaryClass={cs.CV}
  }

mgfn.'s People

Contributors

carolchenyx avatar sg60692 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.