Add Colab for inference (#54)

pull/83/head
Francisco Massa 2021-01-18 11:37:44 +01:00 committed by GitHub
parent 23c7d85da9
commit 84f7cf316f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ assert timm.__version__ == "0.3.2"
model = torch.hub.load('facebookresearch/deit:main', 'deit_base_patch16_224', pretrained=True)
```
Additionnally, we provide a [Colab notebook](https://colab.research.google.com/github/facebookresearch/deit/blob/colab/notebooks/deit_inference.ipynb) which goes over the steps needed to perform inference with DeiT.
# Usage
First, clone the repository locally: