You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ If you use this code, please cite our paper:
17
17
18
18
### Install dependencies
19
19
20
-
* This code has been tested on Ubuntu 16.04 with Python 3.6 and PyTorch 0.4. If you're using [conda](https://conda.io/docs/), you can create a Python environment by running `conda create -n protonets python=2.7` or `conda create -n protonets python=3.5` and then activate it by running `source activate protonets`.
20
+
* This code has been tested on Ubuntu 16.04 with Python 3.6 and PyTorch 0.4.
21
21
* Install [PyTorch and torchvision](http://pytorch.org/).
22
22
* Install [torchnet](https://github.com/pytorch/tnt) by running `pip install git+https://github.com/pytorch/tnt.git@master`.
23
23
* Install the protonets package by running `python setup.py install` or `python setup.py develop`.
@@ -35,4 +35,4 @@ If you use this code, please cite our paper:
35
35
36
36
### Evaluate
37
37
38
-
* Run evaluation as: `python scripts/predict/few_shot/run_eval.py --model.model_path results/trainval/best_model.t7`.
38
+
* Run evaluation as: `python scripts/predict/few_shot/run_eval.py --model.model_path results/trainval/best_model.pt`.
0 commit comments