Skip to content

Commit

Permalink
add a bug solution for newer version of pytorch.
Browse files Browse the repository at this point in the history
Essentially it was because PyTorch changes some features in the newer versions.
  • Loading branch information
guanlongzhao authored Nov 19, 2019
1 parent 5964a67 commit 9f74903
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ export PYTHONPATH=$PROJECT_ROOT_DIR/src:$PYTHONPATH

If `conda` complains that some packages are missing, it is very likely that you can find a similar version of that package on anaconda's archive.

If you are using `pytorch >= 1.3`, you may need to remove the `byte()` method call in `src.common.utils.get_mask_from_lengths`.

### Run unit tests

```bash
Expand Down

0 comments on commit 9f74903

Please sign in to comment.