File size: 501 Bytes
0da5cb0
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
git clone https://github.com/huggingface/pytorch-image-models.git

ln -s pytorch-image-models/train.py train.py
ln -s pytorch-image-models/validate.py validate.py
ln -s pytorch-image-models/inference.py inference.py
ln -s pytorch-image-models/benchmark.py benchmark.py
ln -s pytorch-image-models/distributed_train.sh distributed_train.sh

# NOTE important to use no-deps to install editable timm, otherwise will stomp over Pillow-SIMD
cd pytorch-image-models && pip install --no-deps -e .