Skip to content

Commit

Permalink
Updated the documentation and README
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinMusgrave committed Aug 31, 2020
1 parent f9702cf commit f133730
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ pip install pytorch-metric-learning --pre

**To install on Windows**:
```
pip install torch===1.4.0 torchvision===0.5.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install torch===1.6.0 torchvision===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install pytorch-metric-learning
```

Expand Down Expand Up @@ -317,7 +317,12 @@ See [powerful-benchmarker](https://github.com/KevinMusgrave/powerful-benchmarker


## Development
In order to run unit tests do:
Unit tests can be run with the default ```unittest``` library:
```bash
python -m unittest discover
```

Or if you want to use ```pytest```:
```bash
pip install -e .[dev]
pytest tests
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ pip install pytorch-metric-learning --pre

**To install on Windows**:
```
pip install torch===1.4.0 torchvision===0.5.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install torch===1.6.0 torchvision===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install pytorch-metric-learning
```

Expand Down

0 comments on commit f133730

Please sign in to comment.