Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
12223dfb
Commit
12223dfb
authored
Jun 18, 2018
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #796
parent
820bcac1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
examples/ImageNetModels/alexnet.py
examples/ImageNetModels/alexnet.py
+2
-2
No files found.
examples/ImageNetModels/alexnet.py
View file @
12223dfb
...
@@ -88,7 +88,7 @@ def get_data(name, batch):
...
@@ -88,7 +88,7 @@ def get_data(name, batch):
def
get_config
():
def
get_config
():
nr_tower
=
max
(
get_n
r
_gpu
(),
1
)
nr_tower
=
max
(
get_n
um
_gpu
(),
1
)
batch
=
args
.
batch
batch
=
args
.
batch
total_batch
=
batch
*
nr_tower
total_batch
=
batch
*
nr_tower
if
total_batch
!=
128
:
if
total_batch
!=
128
:
...
@@ -107,7 +107,7 @@ def get_config():
...
@@ -107,7 +107,7 @@ def get_config():
EstimatedTimeLeft
(),
EstimatedTimeLeft
(),
ScheduledHyperParamSetter
(
ScheduledHyperParamSetter
(
'learning_rate'
,
'learning_rate'
,
[(
30
,
BASE_LR
*
1e-1
),
(
60
,
BASE_LR
*
1e-2
),
(
80
,
BASE_LR
*
1e-3
)]),
[(
0
,
BASE_LR
),
(
30
,
BASE_LR
*
1e-1
),
(
60
,
BASE_LR
*
1e-2
),
(
80
,
BASE_LR
*
1e-3
)]),
DataParallelInferenceRunner
(
DataParallelInferenceRunner
(
dataset_val
,
infs
,
list
(
range
(
nr_tower
))),
dataset_val
,
infs
,
list
(
range
(
nr_tower
))),
]
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment