Coder Social home page Coder Social logo

ver's Introduction

数据存放

./data/ve8_mp4/ 存放所有视频的mp4

./data/audio_wav/ 存放所有视频的wav ./data/audio_log_mel/ 存放所有视频的预处理特征 ./data/audio_npy/ 存放所有视频的 音频特征 ./data/ske_npy/ 存放所有视频的 骨架点特征 ./data/visual_npy/ 存放所有视频的 视频特征

提取音频特征

CUDA_VISIBLE_DEVICES=1 python tools/extract_feature_a.py

提取视频特征 + 骨架点特征

CUDA_VISIBLE_DEVICES=1 python tools/extract_feature_v.py

VideoEmotion-8

  • Download the videos here.
  • Convert from mp4 to mp3 files using /tools/video2mp3.py

VideoEmotion-8

  • Download the videos here.
  • Convert from mp4 to jpg files using /tools/video2jpg.py
  • Add n_frames information using /tools/n_frames.py
  • Generate annotation file in json format using /tools/ve8_json.py
  • Convert from mp4 to mp3 files using /tools/video2mp3.py

Running the code

Assume the strcture of data directories is the following:

~/
  VideoEmotion8--imgs
    .../ (directories of class names)
      .../ (directories of video names)
        .../ (jpg files)
  VideoEmotion8--mp3
    .../ (directories of class names)
      .../ (mp3 files)
  results
  ve8_01.json

Confirm all options in ~/opts.py.

python main.py

ver's People

Contributors

helen1p avatar

Stargazers

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