Giter VIP home page Giter VIP logo

vfal-eva's Introduction

Voice-Face Association Learning Evaluation

  • Reproduce various works based on unified standards ๐Ÿ˜ƒ
  • High-speed training and testing โšก
  • Easy to extend ๐Ÿ’ญ

Installation

  1. Clone or download this repository.

  2. Install the required packages:

    pytorch>=1.8.1
    wandb>=0.12.10
    
  3. Download the dataset:

    The dataset is based on VoxCeleb and is divided into train/valid/test sets according to "Learnable Pins: Crossmodal Embeddings for Person Identity, 2018, ECCV" (901/100/250).

    Download dataset.zip from Google Drive (2.3GB) and unzip it to the project root directory. The folder structure should be as follows:

    dataset
    โ”œโ”€โ”€ evals
    โ”‚   โ”œโ”€โ”€ test_matching_10.pkl
    โ”‚   โ”œโ”€โ”€ test_matching_g.pkl
    โ”‚   โ”œโ”€โ”€ test_matching.pkl
    โ”‚   โ”œโ”€โ”€ test_retrieval.pkl
    โ”‚   โ”œโ”€โ”€ test_verification_g.pkl
    โ”‚   โ”œโ”€โ”€ test_verification.pkl
    โ”‚   โ””โ”€โ”€ valid_verification.pkl
    โ”œโ”€โ”€ info
    โ”‚   โ”œโ”€โ”€ name2gender.pkl
    โ”‚   โ”œโ”€โ”€ name2jpgs_wavs.pkl
    โ”‚   โ”œโ”€โ”€ name2movies.pkl
    โ”‚   โ”œโ”€โ”€ name2voice_id.pkl
    โ”‚   โ”œโ”€โ”€ train_valid_test_names.pkl
    โ”‚   โ””โ”€โ”€ works
    โ”‚       โ””โ”€โ”€ wen_weights.txt
    โ”œโ”€โ”€ face_input.pkl
    โ””โ”€โ”€ voice_input.pkl
    

Run a Production

  • Learnable Pins: Crossmodal Embeddings for Person Identity, 2018, ECCV

    python works/1_pins.py
    
  • Face-Voice Matching using Cross-modal Embeddings, MM, 2018

    python works/2_FV-CME.py
    
  • On Learning Associations of Faces and Voices, ACCV, 2018

    python works/3_LAFV.py
    
  • Disjoint Mapping Network for Cross-modal Matching of Voices and Faces, ICLR, 2019

    python works/11_SS_DIM_VFMR_Barlow.py --name=DIMNet
    
  • Voice-Face Cross-modal Matching and Retrieval - A Benchmark, 2019

    python works/11_SS_DIM_VFMR_Barlow.py --name=VFMR
    
  • Seeking the Shape of Sound: An Adaptive Framework for Learning Voice-Face Association, CVPR, 2021

    python works/5_Wen.py
    
  • Fusion and Orthogonal Projection for Improved Face-Voice Association, ICASSP, 2022

    python works/6_FOP.py
    
  • Unsupervised Voice-Face Representation Learning by Cross-Modal Prototype Contrast, IJCAI, 2022

    python works/7_CMPC.py
    
  • Self-Lifting: A Novel Framework for Unsupervised Voice-Face Association Learning, ICMR, 2022

    python works/9_SL.py
    

    for self-lifting

    python works/8_CAE.py
    

    for the CCAE baseline

    python works/11_SS_DIM_VFMR_Barlow.py --name=SL-Barlow
    

    for the Barlow Twins baseline

Integration with Wandb

Use wandb to view the training process:

  1. Create a .wb_config.json file in the project root with the following content:

    {
      "WB_KEY": "Your wandb auth key"
    }
    
  2. Add --dryrun=False to the training command, for example:

    python main.py --dryrun=False
    

vfal-eva's People

Contributors

my-yy avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  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.