Comments (4)
My CumulativeLayerNorm1d
is based on official implementation. You can compare it with mine here.
If there is any possibility that I have misunderstood something, let me know in more detail.
from dnn-based_source_separation.
compared to the official implementation, your code writes cum_var=cum_squared_mean - cum_mean**2 while the official code writes cum_var = (cum_pow_sum - 2cum_meancum_sum) / entry_cnt + cum_mean.pow(2).
then cum_squared_mean should = (cum_pow_sum - 2cum_meancum_sum) / entry_cnt
In your code cum_squared_mean=cum_squared_sum/cum_num. as entry_cnt=cum_sum,
cum_squared_sum should = cum_pow_sum-2cum_meancum_sum
however cum_squared_sum is defined as torch.cumsum(step_pow_sum, dim=1) which equals cum_pow_sum in the official implementation, so you're missing 2cum_meancum_sum.
am I missing anything here? or is this omitted for a speed / accuracy tradeoff?
from dnn-based_source_separation.
I renamed some variables in check_layer_norm.ipynb
at #101 (comment) for readability.
from dnn-based_source_separation.
My bad! thank you for clearing it up!
from dnn-based_source_separation.
Related Issues (20)
- Bug of LSTM-TasNet HOT 1
- problem in google colab HOT 1
- missing SPEAKERS.TXT for example HOT 2
- Just a question
- Separating a specific drum
- Linear encoder.
- Finetuning HOT 1
- PESQ error
- Implementation of DPTNet.
- Use torch.nn.utils.rnn
- `hidden_channels` parameter in LSTM HOT 1
- DPRNN-TasNet architecture HOT 3
- Join efforts? HOT 4
- Curriculum training for DANet
- Unstable training of DPRNN-TasNet HOT 3
- parse_options.sh HOT 1
- Implementation of D3Net HOT 11
- Model common usage HOT 7
- K-means clustering HOT 1
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 dnn-based_source_separation.