Comments (2)
Hi,
Sure! Line 403 creates the background component (i.e. the music without the voice) from the available instruments (i.e. bass, drums, others), and line 405 mixes the instruments and the voice.
If you do not have some of the instruments (e.g. bass or others), then you can safely remove them.
bg_true = np.sum(bass + drums + others, axis=-1) * 0.5 # Line 403 --> You can remove bass and others
voice_true = np.sum(voice, axis=-1) * 0.5 # Line 404
mix = np.sum(bass + drums + others + voice, axis=-1) * 0.5 # Line 405 --> You can remove bass and others
from mad-twinnet.
@dr-costas, Thanks, happy to hear that complex modification is not needed.
from mad-twinnet.
Related Issues (15)
- Memory error when use use_me.py HOT 13
- Missing variable from model file HOT 8
- helper module is not working HOT 3
- about overlapping frames HOT 3
- Could not find a version that satisfies the requirement torch==0.4.1 HOT 1
- 'outputs/states/mad.pt' file not found error while using the use_me.py script HOT 3
- pre_train modules do not correspond to the code
- Justification of skip-filtering connection for general speech enhancement HOT 1
- RuntimeError: invalid argument 1: empty Tensor at /pytorch/torch/lib/TH/generic/THTensorMath.c:3381
- output size not equal to input size HOT 3
- No module named helpers HOT 7
- Error When I run scripts/training.py HOT 17
- Unable to reproduce same error metrics as claimed in the paper HOT 8
- AttributeError: 'NoneType' object has no attribute 'to' when use use_me.py HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mad-twinnet.