Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
17ea5f0a
"vscode:/vscode.git/clone" did not exist on "32a91c78c179e37fa34302505bb287a3cc64db0c"
Commit
17ea5f0a
authored
Nov 25, 2019
by
squirrelsc
Browse files
fix bug on exporting
parent
ea665155
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/sdk/pynni/nni/nas/pytorch/pdarts/trainer.py
src/sdk/pynni/nni/nas/pytorch/pdarts/trainer.py
+1
-3
No files found.
src/sdk/pynni/nni/nas/pytorch/pdarts/trainer.py
View file @
17ea5f0a
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
import
logging
from
nni.nas.pytorch.callbacks
import
LRSchedulerCallback
from
nni.nas.pytorch.darts
import
DartsTrainer
from
nni.nas.pytorch.trainer
import
BaseTrainer
...
...
@@ -66,8 +67,5 @@ class PdartsTrainer(BaseTrainer):
def
validate
(
self
):
self
.
model
.
validate
()
def
export
(
self
):
self
.
mutator
.
export
()
def
checkpoint
(
self
):
raise
NotImplementedError
(
"Not implemented yet"
)
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