Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions notebooks/use-pytorch-to-predict-handwritten-digits.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@
"outputs": [],
"source": [
"#Install PyTorch\n",
"!pip install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp35-cp35m-linux_x86_64.whl\n",
"!pip install http://download.pytorch.org/whl/cpu/torch-0.4.0-cp35-cp35m-linux_x86_64.whl\n",
"#Install torchvision\n",
"!pip install torchvision"
]
Expand Down Expand Up @@ -354,7 +354,7 @@
"import glob\n",
"import os\n",
"\n",
"files_search = os.path.join(data_dir, \"processed\", \"*\")\n",
"files_search = os.path.join(data_dir, \"MNIST/processed\", \"*\")\n",
"files = glob.glob(files_search)\n",
"\n",
"bucket_obj = cos.Bucket(buckets[0])\n",
Expand Down Expand Up @@ -573,7 +573,7 @@
" client.repository.DefinitionMetaNames.FRAMEWORK_NAME: \"pytorch\",\n",
" client.repository.DefinitionMetaNames.FRAMEWORK_VERSION: \"0.4\",\n",
" client.repository.DefinitionMetaNames.RUNTIME_NAME: \"python\",\n",
" client.repository.DefinitionMetaNames.RUNTIME_VERSION: \"3.5\",\n",
" client.repository.DefinitionMetaNames.RUNTIME_VERSION: \"3.6\",\n",
" client.repository.DefinitionMetaNames.EXECUTION_COMMAND: \"python3 main.py --epochs 1 --data-dir $DATA_DIR --result-dir $RESULT_DIR\"\n",
" }"
]
Expand Down