Giter VIP home page Giter VIP logo

cign's Introduction

[ICCV-2023] Class-Incremental Grouping Network for Continual Audio-Visual Learning

CIGN is a novel framework can directly learn category-wise semantic features to achieve continual audio- visual learning.

CIGN Illustration

Environment

To setup the environment, please simply run

pip install -r requirements.txt

Datasets

VGG-Instruments

Data can be downloaded from Mix and Localize: Localizing Sound Sources in Mixtures

VGG-Sound Source

Data can be downloaded from Localizing Visual Sounds the Hard Way

Train

For training the CIGN model, please run

python train_avctl.py --multiprocessing_distributed \
    --port 12345 \
    --train_data_path /path/to/datasets/vgginstruments/train/ \
    --test_data_path /path/to/datasets/vgginstruments/train/ \
    --experiment_name_pre vgginstruments_g0_baseline_e20 \
    --experiment_name vgginstruments_g1_baseline_e20_v3_true \
    --resume_av_token \
    --train_stage 1 --test_stage 1 \
    --model 'avctl' \
    --trainset 'vgginstruments_group_0,vgginstruments_group_1' --num_class 18 \
    --testset 'vgginstruments_group_0,vgginstruments_group_1' \
    --epochs 20 \
    --batch_size 128 \
    --init_lr 0.0001 \
    --attn_assign hard \
    --dim 512 \
    --depth_aud 3 \
    --depth_vis 3

Test

For testing and visualization, simply run

python test.py --test_data_path /path/to/vgginstruments/ \
    --test_gt_path /path/to/vgginstruments/anno/ \
    --model_dir checkpoints \
    --experiment_name vgginstruments_cign \
    --model 'avgn' \
    --testset 'vgginstruments_group_0,vgginstruments_group_1' \
    --attn_assign soft \
    --dim 512 \
    --depth_aud 3 \
    --depth_vis 3

Citation

If you find this repository useful, please cite our paper:

@inproceedings{mo2023class,
  title={Class-Incremental Grouping Network for Continual Audio-Visual Learning},
  author={Mo, Shentong and Pian, Weiguo and Tian, Yapeng},
  booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
  year={2023}
}

cign's People

Contributors

stonemo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

amartyacodes

cign's Issues

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.