Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #39 from facebookresearch/revert-36-patch-1
Browse files Browse the repository at this point in the history
Revert "Add conda instructions, fix typo"
  • Loading branch information
mathildecaron31 committed Aug 12, 2019
2 parents 726ce2d + 7a2e7f3 commit 1e922f8
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,12 @@ Finally, this code also includes a visualisation module that allows to assess vi

## Requirements

- a Python installation version 2.7
- a Python intallation version 2.7
- the SciPy and scikit-learn packages
- a PyTorch install ([pytorch.org](http:https://pytorch.org))
- a Faiss install ([Faiss](https://github.com/facebookresearch/faiss))
- Download the ImageNet dataset
- Download ImageNet dataset

### Conda installation
The following instructions can be used to install the requirements with conda:

```
conda create -n deepcluster python=2.7
conda activate deepcluster
pip install scikit-learn
# CPU
conda install pytorch-cpu torchvision-cpu faiss-cpu -c pytorch
# For CUDA 8
conda install pytorch torchvision faiss-gpu cudatoolkit=8.0 -c pytorch
# For CUDA 9
conda install pytorch torchvision faiss-gpu cudatoolkit=9.0 -c pytorch
# For CUDA 10
conda install pytorch torchvision faiss-gpu cudatoolkit=10.0 -c pytorch
```

## Pre-trained models
We provide pre-trained models with AlexNet and VGG-16 architectures, available for download.
Expand Down

0 comments on commit 1e922f8

Please sign in to comment.