Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dsri-pytorch-workspace
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DSRI-examples
dsri-pytorch-workspace
Commits
17c0cb7d
Commit
17c0cb7d
authored
4 years ago
by
Vincent Emonet
Browse files
Options
Downloads
Patches
Plain Diff
fix download of pretrained model for example
parent
03569d1b
Branches
master
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
tutorials/beginner_source/fgsm_tutorial.py
+1
-1
1 addition, 1 deletion
tutorials/beginner_source/fgsm_tutorial.py
with
2 additions
and
2 deletions
README.md
+
1
−
1
View file @
17c0cb7d
...
@@ -24,7 +24,7 @@ cd tutorials/beginner_source
...
@@ -24,7 +24,7 @@ cd tutorials/beginner_source
Download pretrained model for the tutorial:
Download pretrained model for the tutorial:
```
bash
```
bash
wget
-O
data/lenet_mnist_model.pth https://d
rive
.google.com/
drive/folders/1fn83DF14tWmit0RTKWRhPq5uVXt73e0h?usp
=
sharing
wget
-O
data/lenet_mnist_model.pth
'
https://d
ocs
.google.com/
uc?export=download&id=1KVOHbHnjCd1L-ookcd7CxDqb7rb8-DSx'
```
```
Run the tutorial:
Run the tutorial:
...
...
This diff is collapsed.
Click to expand it.
tutorials/beginner_source/fgsm_tutorial.py
+
1
−
1
View file @
17c0cb7d
...
@@ -132,7 +132,7 @@ import matplotlib.pyplot as plt
...
@@ -132,7 +132,7 @@ import matplotlib.pyplot as plt
#
#
## Download pretrained model:
## Download pretrained model:
# wget -O data/lenet_mnist_model.pth https://d
rive
.google.com/
drive/folders/1fn83DF14tWmit0RTKWRhPq5uVXt73e0h?usp=sharing
# wget -O data/lenet_mnist_model.pth
'
https://d
ocs
.google.com/
uc?export=download&id=1KVOHbHnjCd1L-ookcd7CxDqb7rb8-DSx'
epsilons
=
[
0
,
.
05
,
.
1
,
.
15
,
.
2
,
.
25
,
.
3
]
epsilons
=
[
0
,
.
05
,
.
1
,
.
15
,
.
2
,
.
25
,
.
3
]
pretrained_model
=
"
data/lenet_mnist_model.pth
"
pretrained_model
=
"
data/lenet_mnist_model.pth
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment