Skip to content

Commit

Permalink
Add conda installation instructions for Python 3.6 PyTorch 0.3.1 w/ c…
Browse files Browse the repository at this point in the history
…uda8.0
  • Loading branch information
vithursant committed Mar 9, 2018
1 parent d5c6182 commit 0a221e2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ PyTorch implementation of the Magnet Loss for Deep Metric Learning, based onthe

The program requires the following dependencies (easy to install using pip, Ananconda or Docker):

* python (tested on 2.7)
* pytorch (tested with 0.3 CUDA 8.0)
* python (tested on 2.7 and 3.6)
* pytorch (tested with v0.3 and v0.3.1 with CUDA 8.0)
* numpy
* matplotlib
* seaborn
Expand All @@ -30,16 +30,18 @@ The program requires the following dependencies (easy to install using pip, Anan

#### Anaconda: Installation

To install MagnetLoss Python 2.7 Cuda 8.0 in an Anaconda environment:
To install MagnetLoss in an Anaconda environment:

```sh
conda env create -f pytorch-2p7-cuda80.yml
(Python 2.7) conda env create -f pytorch-2p7-cuda80.yml
(Python 3.6) conda env create -f pytorch-3p6-cuda80.yml
```

To activate Anaconda environment:

```sh
source activate magnet-loss-py27-env
(Python 2.7) source activate magnet-loss-py27-env
(Python 3.6) source activate magnet-loss-py36-env
```

### Anaconda: Train
Expand Down

0 comments on commit 0a221e2

Please sign in to comment.