Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
90b10b80
Commit
90b10b80
authored
Oct 08, 2019
by
Attila Dusnoki
Committed by
Thierry Moreau
Oct 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong n_trial number in autotvm tutorials' progress bar (#4070)
if n_trial is larger then config space.
parent
be869546
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
7 deletions
+14
-7
nnvm/tutorials/tune_nnvm_arm.py
+2
-1
nnvm/tutorials/tune_nnvm_cuda.py
+2
-1
nnvm/tutorials/tune_nnvm_mobile_gpu.py
+2
-1
tutorials/autotvm/tune_relay_arm.py
+2
-1
tutorials/autotvm/tune_relay_cuda.py
+2
-1
tutorials/autotvm/tune_relay_mobile_gpu.py
+2
-1
vta/tutorials/autotvm/tune_relay_vta.py
+2
-1
No files found.
nnvm/tutorials/tune_nnvm_arm.py
View file @
90b10b80
...
...
@@ -307,7 +307,8 @@ def tune_tasks(tasks,
tuner_obj
.
load_history
(
autotvm
.
record
.
load_from_file
(
tmp_log_file
))
# do tuning
tuner_obj
.
tune
(
n_trial
=
min
(
n_trial
,
len
(
tsk
.
config_space
)),
n_trial
=
min
(
n_trial
,
len
(
tsk
.
config_space
))
tuner_obj
.
tune
(
n_trial
=
n_trial
,
early_stopping
=
early_stopping
,
measure_option
=
measure_option
,
callbacks
=
[
...
...
nnvm/tutorials/tune_nnvm_cuda.py
View file @
90b10b80
...
...
@@ -204,7 +204,8 @@ def tune_tasks(tasks,
tuner_obj
.
load_history
(
autotvm
.
record
.
load_from_file
(
tmp_log_file
))
# do tuning
tuner_obj
.
tune
(
n_trial
=
min
(
n_trial
,
len
(
tsk
.
config_space
)),
n_trial
=
min
(
n_trial
,
len
(
tsk
.
config_space
))
tuner_obj
.
tune
(
n_trial
=
n_trial
,
early_stopping
=
early_stopping
,
measure_option
=
measure_option
,
callbacks
=
[
...
...
nnvm/tutorials/tune_nnvm_mobile_gpu.py
View file @
90b10b80
...
...
@@ -290,7 +290,8 @@ def tune_tasks(tasks,
tuner_obj
.
load_history
(
autotvm
.
record
.
load_from_file
(
tmp_log_file
))
# do tuning
tuner_obj
.
tune
(
n_trial
=
min
(
n_trial
,
len
(
tsk
.
config_space
)),
n_trial
=
min
(
n_trial
,
len
(
tsk
.
config_space
))
tuner_obj
.
tune
(
n_trial
=
n_trial
,
early_stopping
=
early_stopping
,
measure_option
=
measure_option
,
callbacks
=
[
...
...
tutorials/autotvm/tune_relay_arm.py
View file @
90b10b80
...
...
@@ -299,7 +299,8 @@ def tune_tasks(tasks,
tuner_obj
.
load_history
(
autotvm
.
record
.
load_from_file
(
tmp_log_file
))
# do tuning
tuner_obj
.
tune
(
n_trial
=
min
(
n_trial
,
len
(
tsk
.
config_space
)),
n_trial
=
min
(
n_trial
,
len
(
tsk
.
config_space
))
tuner_obj
.
tune
(
n_trial
=
n_trial
,
early_stopping
=
early_stopping
,
measure_option
=
measure_option
,
callbacks
=
[
...
...
tutorials/autotvm/tune_relay_cuda.py
View file @
90b10b80
...
...
@@ -201,7 +201,8 @@ def tune_tasks(tasks,
tuner_obj
.
load_history
(
autotvm
.
record
.
load_from_file
(
tmp_log_file
))
# do tuning
tuner_obj
.
tune
(
n_trial
=
min
(
n_trial
,
len
(
tsk
.
config_space
)),
n_trial
=
min
(
n_trial
,
len
(
tsk
.
config_space
))
tuner_obj
.
tune
(
n_trial
=
n_trial
,
early_stopping
=
early_stopping
,
measure_option
=
measure_option
,
callbacks
=
[
...
...
tutorials/autotvm/tune_relay_mobile_gpu.py
View file @
90b10b80
...
...
@@ -283,7 +283,8 @@ def tune_tasks(tasks,
tuner_obj
.
load_history
(
autotvm
.
record
.
load_from_file
(
tmp_log_file
))
# do tuning
tuner_obj
.
tune
(
n_trial
=
min
(
n_trial
,
len
(
tsk
.
config_space
)),
n_trial
=
min
(
n_trial
,
len
(
tsk
.
config_space
))
tuner_obj
.
tune
(
n_trial
=
n_trial
,
early_stopping
=
early_stopping
,
measure_option
=
measure_option
,
callbacks
=
[
...
...
vta/tutorials/autotvm/tune_relay_vta.py
View file @
90b10b80
...
...
@@ -274,7 +274,8 @@ def tune_tasks(tasks,
tuner_obj
.
load_history
(
autotvm
.
record
.
load_from_file
(
tmp_log_file
))
# do tuning
tuner_obj
.
tune
(
n_trial
=
min
(
n_trial
,
len
(
tsk
.
config_space
)),
n_trial
=
min
(
n_trial
,
len
(
tsk
.
config_space
))
tuner_obj
.
tune
(
n_trial
=
n_trial
,
early_stopping
=
early_stopping
,
measure_option
=
measure_option
,
callbacks
=
[
...
...
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