Skip to content

Commit

Permalink
adding support for PASE
Browse files Browse the repository at this point in the history
  • Loading branch information
mravanelli committed Jul 23, 2019
1 parent 7487949 commit 1192376
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions neural_networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,8 @@ def __init__(self, options, inp_dim):

# To use PASE within PyTorch-Kaldi, please clone the current PASE repository: https://github.com/santi-pdp/pase
# Note that you have to clone the dev branch.
# Take a look into the requirements (requirements.txt) and install in your environment what is missing. An important requirement is QRNN (https://github.com/salesforce/pytorch-qrnn). Before starting working with PASE, it could make sense to a quick test with QRNN independently (see “usage” section in the QRNN repository).
# Take a look into the requirements (requirements.txt) and install in your environment what is missing. An important requirement is QRNN (https://github.com/salesforce/pytorch-qrnn).
# Before starting working with PASE, it could make sense to a quick test with QRNN independently (see “usage” section in the QRNN repository).
# Remember to install pase. This way it can be used outside the pase folder directory. To do it, go into the pase folder and type:
# "python setup.py install"

Expand All @@ -1786,4 +1787,4 @@ def forward(self, x):
x=x.unsqueeze(0).unsqueeze(0)
output=self.pase(x)

return output
return output
1 change: 1 addition & 0 deletions proto/PASE.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[proto]
pase_cfg=str
pase_model=path

0 comments on commit 1192376

Please sign in to comment.