You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Get-Ready.ipynb
+5-25Lines changed: 5 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@
21
21
"id": "00e4890b",
22
22
"metadata": {},
23
23
"source": [
24
-
"⚠️ Please remember to **activate** the new `ppml` environment before running the following cells"
24
+
"⚠️ Please remember to **activate** the new `ppml` environment before running the following cells (**if you're running this notebook on your computer**)"
25
25
]
26
26
},
27
27
{
@@ -60,7 +60,7 @@
60
60
"source": [
61
61
"assert (\n",
62
62
" syft_v := sy.__version__\n",
63
-
") == \"0.5.0\", f\"In this tutorial we will be using PySyft 0.5.0 - found {syft_v} instead\""
63
+
") == \"0.5.1\", f\"In this tutorial we will be using PySyft 0.5.0 - found {syft_v} instead\""
64
64
]
65
65
},
66
66
{
@@ -70,25 +70,7 @@
70
70
"metadata": {},
71
71
"outputs": [],
72
72
"source": [
73
-
"assert (\n",
74
-
" torch_v := th.__version__\n",
75
-
") == \"1.8.1\", (\n",
76
-
" f\"In this tutorial we will be using PyTorch 1.8.1 - found {torch_v} instead\"\n",
77
-
")"
78
-
]
79
-
},
80
-
{
81
-
"cell_type": "code",
82
-
"execution_count": null,
83
-
"id": "1c4525ad",
84
-
"metadata": {},
85
-
"outputs": [],
86
-
"source": [
87
-
"assert (\n",
88
-
" thv_v := torchvision.__version__\n",
89
-
") == \"0.9.1\", (\n",
90
-
" f\"In this tutorial we will be using TorchVision 0.9.1 - found {thv_v} instead\"\n",
91
-
")"
73
+
"assert \"1.9.0\" in (torch_v := th.__version__), f\"In this tutorial we will be using PyTorch 1.8.1 - found {torch_v} instead\""
92
74
]
93
75
},
94
76
{
@@ -98,9 +80,7 @@
98
80
"metadata": {},
99
81
"outputs": [],
100
82
"source": [
101
-
"assert (\n",
102
-
" thv_v := torchvision.__version__\n",
103
-
") == \"0.9.1\", (\n",
83
+
"assert \"0.9\" in (thv_v := torchvision.__version__), (\n",
104
84
" f\"In this tutorial we will be using TorchVision 0.9.1 - found {thv_v} instead\"\n",
0 commit comments