-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.sh
More file actions
20 lines (17 loc) · 783 Bytes
/
setup.sh
File metadata and controls
20 lines (17 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# IN THE PARENT DIRECTORY OF THIS GIT REPO:
mkdir qtta_venv
python3 -m venv qtta_venv
pip3 install -r qtta/requirements.txt
git clone https://github.com/huyvnphan/PyTorch_CIFAR10.git
git clone https://github.com/DequanWang/tent.git
git clone [email protected]:mit-han-lab/tinyml.git
git clone [email protected]:mit-han-lab/tiny-training.git
# curl down the model weights (will have to get my oauth token)
curl -X POST https://content.dropboxapi.com/2/files/download \
--header "Authorization: Bearer <token here>" \
--header "Dropbox-API-Arg: {\"path\":\"/resnet18_quant_no_fuse.pth\"}" # or mbn_quant_no_fuse.pth
# download model weights
cd PyTorch_CIFAR10
python3 train.py --download_weights 1
# download dataset
wget https://zenodo.org/records/3555552/files/CIFAR-100-C.tar