Skip to content

Commit

Permalink
[nbs] asteroid.filterbanks to asteroid_filterbanks (asteroid-team#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
hihunjin authored Jul 8, 2021
1 parent f66d65c commit 7146516
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions notebooks/01_APIOverview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
},
"outputs": [],
"source": [
"from asteroid.filterbanks import STFTFB, Encoder, Decoder\n",
"from asteroid_filterbanks import STFTFB, Encoder, Decoder\n",
"# First, instantiate the STFT filterbank\n",
"fb = STFTFB(n_filters=256, kernel_size=128, stride=64)\n",
"# Make an encoder out of it, forward some waveform through it.\n",
Expand All @@ -94,7 +94,7 @@
"decoder = Decoder(decoder_fb)\n",
"\n",
"# The preceding lines can also be obtained faster with these lines\n",
"from asteroid.filterbanks import make_enc_dec\n",
"from asteroid_filterbanks import make_enc_dec\n",
"encoder, decoder = make_enc_dec('stft', n_filters=256, \n",
" kernel_size=128, stride=64)\n",
"\n"
Expand Down Expand Up @@ -203,7 +203,7 @@
},
"outputs": [],
"source": [
"from asteroid.filterbanks import make_enc_dec\n",
"from asteroid_filterbanks import make_enc_dec\n",
"\n",
"class Model(torch.nn.Module):\n",
" def __init__(self):\n",
Expand Down
1 change: 0 additions & 1 deletion notebooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ You can find here a list of Asteroid's notebooks that explain some concepts, des
| [Filterbank API](https://github.com/asteroid-team/asteroid/blob/master/notebooks/02_Filterbank.ipynb) | Description of the Filterbank API + How to write your own |[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](http://colab.research.google.com/github/asteroid-team/asteroid/blob/master/notebooks/02_Filterbank.ipynb) |
| [PITLossWrapper](https://github.com/asteroid-team/asteroid/blob/master/notebooks/.ipynb) | Permutation invariant losses explained + how to extend your losses |[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](http://colab.research.google.com/github/asteroid-team/asteroid/blob/master/notebooks/03_PITLossWrapper.ipynb) |
| [Process large files](https://github.com/asteroid-team/asteroid/blob/master/notebooks/04_ProcessLargeAudioFiles.ipynb) | Processing large wav files with pretrained models |[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](http://colab.research.google.com/github/asteroid-team/asteroid/blob/master/notebooks/04_ProcessLargeAudioFiles.ipynb) |
| [](https://github.com/asteroid-team/asteroid/blob/master/notebooks/) | |[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](http://colab.research.google.com/github/asteroid-team/asteroid/blob/master/examples/) |


If you wrote some notebook(s) using Asteroid, we'd love to have it here, open a PR! :star:

0 comments on commit 7146516

Please sign in to comment.