Giter Site home page Giter Site logo

stonemo / ez-vsl Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 8.0 17.91 MB

Official Codebase of "Localizing Visual Sounds the Easy Way" (ECCV 2022)

License: Apache License 2.0

Python 90.78% Shell 9.22%
audio-visual-correspondence audio-visual-learning self-supervised-learning visual-sound-localization

ez-vsl's People

Contributors

stonemo 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

Watchers

 avatar  avatar

ez-vsl's Issues

which frame of the video is extracted?

Hi, thanks for sharing the codes.

I read your paper enjoyably. It was very well-written. I have one question and appreciate your reply.

In the "Experimental Setup" section of the paper, you mentioned that a single image frame is extracted (with the 20s of audio) from each video clip. Did you extract the frame randomly? or you chose the middle frame?

Thanks :)

ValueError: need at least one array to concatenate

File "/data2/scripts/EZ-VSL/audio_io.py", line 66, in load_audio_av
    audio = np.concatenate([af[1] for af in chunks], 1)
  File "<__array_function__ internals>", line 180, in concatenate
ValueError: need at least one array to concatenate

I realized the error comes from audio_io.py at line 59.
chunks.append((chunk_start_time, resampler.resample(frame).to_ndarray()))
should be changed to
chunks.append((chunk_start_time, resampler.resample(frame)[0].to_ndarray()))

Questions about the dataset

Hi, I have tried many ways to download the two datasets you mentioned in the article but they all failed. Could you kindly provide a way to download both datasets?

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.