donghoney0416 commited on
Commit
9ff3cc1
·
verified ·
1 Parent(s): aed2ad3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -12,7 +12,7 @@ We uploaded a pre-trained model trained on the spatialized DNS challenge dataset
12
 
13
  ## Using pre-trained model
14
  Download `deftan-II.py` and `max.pt` to `your\path\`.
15
- Declare the DeFTAN-II class and load the `state_dict` using the code below.
16
 
17
  ```
18
  import torch
@@ -24,7 +24,7 @@ state_dict = {k.replace("module.", ""): v for k, v in state_dict.items()}
24
  DeFTAN2model.load_state_dict(state_dict)
25
  ```
26
 
27
- You can now use the trained parameter to enhance speech.
28
 
29
  ---
30
  license: mit
 
12
 
13
  ## Using pre-trained model
14
  Download `deftan-II.py` and `max.pt` to `your\path\`.
15
+ You may import the DeFTAN-II class and load the `state_dict` using the code below.
16
 
17
  ```
18
  import torch
 
24
  DeFTAN2model.load_state_dict(state_dict)
25
  ```
26
 
27
+ You can now use the DeFTAN-II with pre-trained parameter to enhance speech.
28
 
29
  ---
30
  license: mit