From e8421659eee5fadcc29da20299cf0b22ebcf6c32 Mon Sep 17 00:00:00 2001 From: Vinicius Reis Date: Wed, 22 Jan 2020 11:31:15 -0800 Subject: [PATCH] Small fixes in the tutorials (#350) Summary: As I was preparing the 0.2 release, found these small issues in the tutorials. Fix them. Pull Request resolved: https://github.com/facebookresearch/ClassyVision/pull/350 Reviewed By: mannatsingh Differential Revision: D19517030 Pulled By: vreis fbshipit-source-id: 83ce3d2f14068f5a3ef07170ae9f24bfe33d968e --- tutorials/fine_tuning.ipynb | 2 +- tutorials/getting_started.ipynb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/fine_tuning.ipynb b/tutorials/fine_tuning.ipynb index 5416706f9d..6a2f85e0b7 100644 --- a/tutorials/fine_tuning.ipynb +++ b/tutorials/fine_tuning.ipynb @@ -192,7 +192,7 @@ "\n", "optimizer = build_optimizer({\n", " \"name\": \"sgd\",\n", - " \"lr\": {\"param_schedulers\": {\"name\": \"step\", \"values\": [0.1, 0.01]}},\n", + " \"param_schedulers\": {\"lr\": {\"name\": \"step\", \"values\": [0.1, 0.01]}},\n", " \"weight_decay\": 1e-4,\n", " \"momentum\": 0.9,\n", " \"num_epochs\": num_epochs\n", diff --git a/tutorials/getting_started.ipynb b/tutorials/getting_started.ipynb index bfcd8c2e45..cc2ca59d09 100644 --- a/tutorials/getting_started.ipynb +++ b/tutorials/getting_started.ipynb @@ -103,7 +103,7 @@ }, "outputs": [], "source": [ - "% cd my-project" + "%cd my-project" ] }, {