From a27301264bc208fe8ee1f4b63cd41438765f76c3 Mon Sep 17 00:00:00 2001 From: kouml Date: Fri, 14 Feb 2020 15:59:24 +0900 Subject: [PATCH 1/3] add install requirements command line --- docs/tutorials/CIFAR-10.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/tutorials/CIFAR-10.md b/docs/tutorials/CIFAR-10.md index 8889d91ff544..9e310762b18c 100755 --- a/docs/tutorials/CIFAR-10.md +++ b/docs/tutorials/CIFAR-10.md @@ -18,6 +18,12 @@ Original model code from [CIFAR-10 Tutorial](https://github.com/pytorch/tutorial git submodule update --init --recursive ``` +To install requirements for cifar 10: +``` +cd DeepSpeedExamples/cifar +pip install -r requirements.txt +``` + Run `python cifar10_tutorial.py`, it downloads the training data set at first run. ```less Downloading https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz to ./data/cifar-10-python.tar.gz From 485af88d1c056e6787583782bca4107661192730 Mon Sep 17 00:00:00 2001 From: kouml Date: Fri, 14 Feb 2020 16:18:51 +0900 Subject: [PATCH 2/3] add pillow library to fix version --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 4d92334a9111..dd2c5fdf478f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ torch==1.2 torchvision==0.4.0 +pillow==6.2.2 tqdm psutil tensorboardX==1.8 From 3dc142891be4412047f20575b533b936b4b73462 Mon Sep 17 00:00:00 2001 From: kouml Date: Fri, 14 Feb 2020 16:27:51 +0900 Subject: [PATCH 3/3] modify to uppercase --- docs/tutorials/CIFAR-10.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/CIFAR-10.md b/docs/tutorials/CIFAR-10.md index 9e310762b18c..6dda5dcab4af 100755 --- a/docs/tutorials/CIFAR-10.md +++ b/docs/tutorials/CIFAR-10.md @@ -18,7 +18,7 @@ Original model code from [CIFAR-10 Tutorial](https://github.com/pytorch/tutorial git submodule update --init --recursive ``` -To install requirements for cifar 10: +To install requirements for CIFAR-10: ``` cd DeepSpeedExamples/cifar pip install -r requirements.txt