Coder Social home page Coder Social logo

sheldontsui / minus-plus-network Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 4.0 513 KB

this repo is the codebase for ICCV19 paper "Recursive Visual Sound Separation Using Minus-Plus Net"

Home Page: https://github.com/SheldonTsui/Minus-Plus-Network

License: Apache License 2.0

Python 95.93% Shell 4.07%
visual-sound-separation

minus-plus-network's People

Contributors

sheldontsui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

minus-plus-network's Issues

About reimplementing the model

Hi,
when I reimplement the model on my own dataset, I got an error.
with parameter --binary_mask 1 and --loss bce.
the error is
/opt/conda/conda-bld/pytorch_1579022034529/work/aten/src/THCUNN/BCECriterion.cu:74: Acctype bce_functor_weights<Dtype, Acctype>::operator()(Tuple) [with Tuple = thrust::detail::tuple_of_iterator_references<thrust::device_reference, thrust::device_reference, thrust::device_reference, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, Dtype = float, Acctype = float]: block: [44,0,0], thread: [251,0,0] Assertion input >= 0. && input <= 1. failed.
RuntimeError: reduce failed to synchronize: cudaErrorAssert: device-side assert triggered

I search the solution on the internet, some answers about the use of bce is useful for someone.
the answer is :
https://stackoverflow.com/questions/60022388/pytorch-runtimeerror-reduce-failed-to-synchronize-cudaerrorassert-device-sid
But I have confirm the range of values to calculate bce loss. there is no problem.
So now I am confused.
I don't know how to solve this problem.

when I change the parameters to --binary_mask 0 and --loss l1
the model can go training.
so where the error can be found in my implementation?
Thank U.

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.