doc(demos/PyTorch): fix wrong message in README

Step 2 and 3 should be executed inside the container, not on host.
The demo's dir is ` /root/demos/pytorch`,
not ` /root/occlum/demos/pytorch`
This commit is contained in:
pu1p 2021-12-21 20:50:20 +08:00 committed by Zongmin.Gu
parent 8efde3915c
commit a1777330b0

@ -18,15 +18,14 @@ docker pull occlum/occlum:0.23.0-ubuntu18.04
docker run -it --name=pythonDemo --device /dev/sgx/enclave occlum/occlum:0.23.0-ubuntu18.04 bash
```
Step 2 (on the host): Download miniconda and install python to prefix position.
Step 2 (in the Occlum container): Download miniconda and install python to prefix position.
```
cd /root/occlum/demos/pytorch
cd /root/demos/pytorch
bash ./install_python_with_conda.sh
```
Step 3 (on the host): Run the sample code on Occlum
Step 3 (in the Occlum container): Run the sample code on Occlum
```
cd /root/occlum/demos/pytorch
cd /root/demos/pytorch
bash ./run_pytorch_on_occlum.sh
```