Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
seominjoon authored Jul 16, 2019
1 parent 7762bfb commit 7a5888d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,25 @@ This directory's file is for hosting a (PyTorch-based) server that maps the inpu
`open`'s file is for hosting the search server and the demo itself.
In this tutorial, we will simply install both in the same environment.

1. Make sure you are using `python=3.6` through Conda.
1. Make sure you are using `python=3.6` through Conda. For instance, once you have Conda, create the environment via
```
conda create -n denspi python=3.6
```
then activate:
```
conda activate denspi
```

2. First, manually install `faiss` with `conda`:
```
conda install faiss-cpu=1.5.2 -c pytorch
```
3. Before installing with pip, make sure that you have installed `DrQA`.
Visit [here](https://github.com/facebookresearch/DrQA) for instructions.
If you are using conda, you will probably need to install java-jdk in order to install DrQA:
```
conda install -c cyclus java-jdk
```
4. Then install both requirement files:
```
pip install -r requirements.txt
Expand Down

0 comments on commit 7a5888d

Please sign in to comment.