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
1dfda7aa
Unverified
Commit
1dfda7aa
authored
Feb 01, 2021
by
Yuge Zhang
Committed by
GitHub
Feb 01, 2021
Browse files
Fix import path of network morphism example (#3333)
* Fix import path * Fix conflicted version
parent
21a1dd8b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
examples/trials/network_morphism/cifar10/cifar10_keras.py
examples/trials/network_morphism/cifar10/cifar10_keras.py
+1
-1
examples/trials/network_morphism/cifar10/cifar10_pytorch.py
examples/trials/network_morphism/cifar10/cifar10_pytorch.py
+1
-1
examples/trials/network_morphism/requirements.txt
examples/trials/network_morphism/requirements.txt
+1
-1
No files found.
examples/trials/network_morphism/cifar10/cifar10_keras.py
View file @
1dfda7aa
...
@@ -28,7 +28,7 @@ from keras.utils import multi_gpu_model, to_categorical
...
@@ -28,7 +28,7 @@ from keras.utils import multi_gpu_model, to_categorical
import
keras.backend.tensorflow_backend
as
KTF
import
keras.backend.tensorflow_backend
as
KTF
import
nni
import
nni
from
nni.networkmorphism_tuner.graph
import
json_to_graph
from
nni.
algorithms.hpo.
networkmorphism_tuner.graph
import
json_to_graph
# set the logger format
# set the logger format
log_format
=
"%(asctime)s %(message)s"
log_format
=
"%(asctime)s %(message)s"
...
...
examples/trials/network_morphism/cifar10/cifar10_pytorch.py
View file @
1dfda7aa
...
@@ -20,7 +20,7 @@ import logging
...
@@ -20,7 +20,7 @@ import logging
import
sys
import
sys
import
nni
import
nni
from
nni.networkmorphism_tuner.graph
import
json_to_graph
from
nni.
algorithms.hpo.
networkmorphism_tuner.graph
import
json_to_graph
import
torch
import
torch
import
torch.nn
as
nn
import
torch.nn
as
nn
...
...
examples/trials/network_morphism/requirements.txt
View file @
1dfda7aa
numpy==1.1
9.3
numpy==1.1
8.5
tensorflow==1.15.4
tensorflow==1.15.4
torchvision==0.2.1
torchvision==0.2.1
Keras==2.3.1
Keras==2.3.1
...
...
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