Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
7eaf9c24
Unverified
Commit
7eaf9c24
authored
Jun 03, 2021
by
Yuge Zhang
Committed by
GitHub
Jun 03, 2021
Browse files
Add start_epoch configuration in PFLD example (#3709)
parent
e67fea2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
examples/nas/oneshot/pfld/train.py
examples/nas/oneshot/pfld/train.py
+2
-0
No files found.
examples/nas/oneshot/pfld/train.py
View file @
7eaf9c24
...
...
@@ -63,6 +63,7 @@ def main(args):
alpha
=
args
.
alpha
,
beta
=
args
.
beta
,
search_space
=
search_space
,
start_epoch
=
args
.
start_epoch
,
)
# look-up table with information of search space, flops per block, etc.
lookup_table
=
LookUpTable
(
config
=
nas_config
,
primitives
=
PRIMITIVES
)
...
...
@@ -162,6 +163,7 @@ def parse_args():
)
parser
.
add_argument
(
"--alpha"
,
default
=
0.25
,
type
=
float
)
parser
.
add_argument
(
"--beta"
,
default
=
0.6
,
type
=
float
)
parser
.
add_argument
(
"--start_epoch"
,
default
=
50
,
type
=
int
)
parser
.
add_argument
(
"--end_epoch"
,
default
=
300
,
type
=
int
)
parser
.
add_argument
(
"--snapshot"
,
default
=
"models"
,
type
=
str
,
metavar
=
"PATH"
...
...
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