From ff02bbdd182d59c457c247bddcf7085b255544cd Mon Sep 17 00:00:00 2001 From: JiwonShin Date: Sat, 3 Feb 2024 04:40:20 +0900 Subject: [PATCH 1/4] Remove unnecessary statements from adversarial_training --- examples/adversarial_training.ipynb | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/examples/adversarial_training.ipynb b/examples/adversarial_training.ipynb index 207def48..f60e173d 100644 --- a/examples/adversarial_training.ipynb +++ b/examples/adversarial_training.ipynb @@ -52,18 +52,7 @@ " adversarial attacks.\", https://arxiv.org/abs/1706.06083" ] }, - { - "cell_type": "code", - "execution_count": 1, - "metadata": { - "id": "xZ-lvFkUQ4N1" - }, - "outputs": [], - "source": [ - "%%capture\n", - "%pip install -U jax flax" - ] - }, + { "cell_type": "code", "source": [ From 7f0c6110a553199080441743c3227dff9194b3e6 Mon Sep 17 00:00:00 2001 From: JiwonShin Date: Sat, 3 Feb 2024 04:43:40 +0900 Subject: [PATCH 2/4] Remove space from adversarial_training.ipynb --- examples/adversarial_training.ipynb | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/adversarial_training.ipynb b/examples/adversarial_training.ipynb index f60e173d..7b37b1d2 100644 --- a/examples/adversarial_training.ipynb +++ b/examples/adversarial_training.ipynb @@ -52,7 +52,6 @@ " adversarial attacks.\", https://arxiv.org/abs/1706.06083" ] }, - { "cell_type": "code", "source": [ From cb6f2da81c15b9549569cf3ea6fc655374d8db19 Mon Sep 17 00:00:00 2001 From: JiwonShin Date: Sat, 3 Feb 2024 04:44:48 +0900 Subject: [PATCH 3/4] Remove unnecessary statements from cifar10_resnet.ipynb --- examples/cifar10_resnet.ipynb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/examples/cifar10_resnet.ipynb b/examples/cifar10_resnet.ipynb index fb25591c..36f130f9 100644 --- a/examples/cifar10_resnet.ipynb +++ b/examples/cifar10_resnet.ipynb @@ -22,18 +22,6 @@ "specific language governing permissions and limitations under the License." ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "cdHscuuDl__9" - }, - "outputs": [], - "source": [ - "%%capture\n", - "%pip install -U flax optax jax" - ] - }, { "cell_type": "markdown", "metadata": { From a1ef168fcea4eb87a19b5c7ebc5a7040e9659a90 Mon Sep 17 00:00:00 2001 From: JiwonShin Date: Sat, 3 Feb 2024 05:17:04 +0900 Subject: [PATCH 4/4] change execution_count in adversarial_training.ipynb --- examples/adversarial_training.ipynb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/examples/adversarial_training.ipynb b/examples/adversarial_training.ipynb index 7b37b1d2..2e58410f 100644 --- a/examples/adversarial_training.ipynb +++ b/examples/adversarial_training.ipynb @@ -64,7 +64,7 @@ "id": "k-dmfIWR15NP", "outputId": "ebf9d19d-0b33-4f59-f39f-70bf8a81ebbb" }, - "execution_count": 2, + "execution_count": 1, "outputs": [ { "output_type": "stream", @@ -94,7 +94,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 2, "metadata": { "id": "diO66z2ZQ4N3", "colab": { @@ -157,12 +157,12 @@ "metadata": { "id": "sWqYXjZFpUXe" }, - "execution_count": 4, + "execution_count": 3, "outputs": [] }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 4, "metadata": { "id": "kwr2gSOZQ4N7" }, @@ -203,12 +203,12 @@ "metadata": { "id": "NUBxQ4c5LPwp" }, - "execution_count": 6, + "execution_count": 5, "outputs": [] }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 6, "metadata": { "id": "trBo7PpcQ4N8" }, @@ -301,7 +301,7 @@ "metadata": { "id": "QgQcIgg2Z2XB" }, - "execution_count": 8, + "execution_count": 7, "outputs": [] }, { @@ -350,7 +350,7 @@ }, "outputId": "982662b7-a338-459c-d1fd-bdad657efa8c" }, - "execution_count": 9, + "execution_count": 8, "outputs": [ { "output_type": "stream", @@ -432,7 +432,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 9, "metadata": { "id": "vQnv1S84Q4N-", "outputId": "f0b39abe-04b4-4a5e-be0d-e239dad4de31", @@ -491,7 +491,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 10, "metadata": { "id": "5o-Qf1qEQ4N_" }, @@ -530,7 +530,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 11, "metadata": { "id": "aF2-kSuQQ4N_", "outputId": "45b53065-0f10-487d-ffe5-3e13e66110e2",