Skip to content

Commit 1b1aca9

Browse files
committed
Fixed tutorials to use SECML PY311 branch
1 parent b1f60ca commit 1b1aca9

15 files changed

+35
-25
lines changed

tutorials/01-Training.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"try:\n",
3232
" import secml\n",
3333
"except ImportError:\n",
34-
" %pip install git+https://github.com/pralab/secml"
34+
" %pip install git+https://github.com/pralab/secml@py311_update"
3535
]
3636
},
3737
{

tutorials/02-NeuralNetworks.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
" import secml\n",
3939
" import torch\n",
4040
"except ImportError:\n",
41-
" %pip install git+https://github.com/pralab/secml#egg=secml[pytorch]"
41+
" %pip install git+https://github.com/pralab/secml@py311_update#egg=secml[pytorch]"
4242
]
4343
},
4444
{

tutorials/03-Evasion.ipynb

Lines changed: 21 additions & 11 deletions
Large diffs are not rendered by default.

tutorials/04-Transferability.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"try:\n",
4747
" import secml\n",
4848
"except ImportError:\n",
49-
" %pip install git+https://github.com/pralab/secml"
49+
" %pip install git+https://github.com/pralab/secml@py311_update"
5050
]
5151
},
5252
{

tutorials/05-Poisoning.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"try:\n",
3636
" import secml\n",
3737
"except ImportError:\n",
38-
" %pip install git+https://github.com/pralab/secml"
38+
" %pip install git+https://github.com/pralab/secml@py311_update"
3939
]
4040
},
4141
{

tutorials/06-MNIST_dataset.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"try:\n",
3333
" import secml\n",
3434
"except ImportError:\n",
35-
" %pip install git+https://github.com/pralab/secml"
35+
" %pip install git+https://github.com/pralab/secml@py311_update"
3636
]
3737
},
3838
{

tutorials/07-NeuralNetworks-MNIST.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
" import secml\n",
3636
" import torch\n",
3737
"except ImportError:\n",
38-
" %pip install git+https://github.com/pralab/secml#egg=secml[pytorch]"
38+
" %pip install git+https://github.com/pralab/secml@py311_update#egg=secml[pytorch]"
3939
]
4040
},
4141
{

tutorials/08-ImageNet.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
" import secml\n",
3333
" import torch\n",
3434
"except ImportError:\n",
35-
" %pip install git+https://github.com/pralab/secml#egg=secml[pytorch]"
35+
" %pip install git+https://github.com/pralab/secml@py311_update#egg=secml[pytorch]"
3636
]
3737
},
3838
{

tutorials/09-Cleverhans.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
" import torch\n",
3737
" import cleverhans\n",
3838
"except ImportError:\n",
39-
" %pip install git+https://github.com/pralab/secml#egg=secml[pytorch,cleverhans]"
39+
" %pip install git+https://github.com/pralab/secml@py311_update#egg=secml[pytorch,cleverhans]"
4040
]
4141
},
4242
{

tutorials/10-Explanation.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"try:\n",
3535
" import secml\n",
3636
"except ImportError:\n",
37-
" %pip install git+https://github.com/pralab/secml"
37+
" %pip install git+https://github.com/pralab/secml@py311_update"
3838
]
3939
},
4040
{

0 commit comments

Comments
 (0)