Giter VIP home page Giter VIP logo

eft-icme2023's Introduction

Code for EFT: Expert Fusion Transformer for Voice-Face Representation Learning,ICME,2023

Requirements

pytorch==1.8.1
wandb==0.12.10

Dataset

Download dataset.zip from GoogleDrive (4GB) and unzip it to the project root. The folder structure is shown below:

dataset/
├── evals
│   ├── test_matching_1N.pkl
│   ├── test_matching_g.pkl
│   ├── test_matching.pkl
│   ├── test_retrieval.pkl
│   ├── test_verification_gn.pkl
│   ├── test_verification_g.pkl
│   ├── test_verification_n.pkl
│   ├── test_verification.pkl
│   └── valid_verification.pkl
├── features
└── info
    ├── name2movies.pkl
    ├── name2tracks.pkl
    └── train_valid_test_names.pkl

The dataset/features folder contains vast number of small files. We suggest placing the project on an SSD disk to prevent IO bottlenecks.

Train

python main.py for the default setting in our paper

python main.py --face_features=f_2plus1D_512 for only use the R2+1D expert

python main.py --bc_mode=sbc_3.0 for change the SBC std threshold to 3.0


use wandb to view the training process:

  1. Create .wb_config.json file in the project root, using the following content:

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

Model Checkpoint

You can get the final model checkpoint in eft_checkpoint.zip.

eft-icme2023's People

Contributors

my-yy avatar

Watchers

 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.