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
a2d815d0
"git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "08edcfbb0baa05103c1a451a2c16c52c11bd6529"
Unverified
Commit
a2d815d0
authored
Dec 21, 2020
by
Anon-Artist
Committed by
GitHub
Dec 21, 2020
Browse files
Update __init__.py
parent
61ac844f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nni/tools/package_utils/__init__.py
nni/tools/package_utils/__init__.py
+1
-1
No files found.
nni/tools/package_utils/__init__.py
View file @
a2d815d0
...
@@ -216,7 +216,7 @@ def read_registerd_algo_meta():
...
@@ -216,7 +216,7 @@ def read_registerd_algo_meta():
config_file
=
get_registered_algo_config_path
()
config_file
=
get_registered_algo_config_path
()
if
os
.
path
.
exists
(
config_file
):
if
os
.
path
.
exists
(
config_file
):
with
open
(
config_file
,
'r'
)
as
f
:
with
open
(
config_file
,
'r'
)
as
f
:
config
=
yaml
.
load
(
f
,
Loader
=
yaml
.
Loader
)
config
=
yaml
.
load
(
f
,
Loader
=
yaml
.
Safe
Loader
)
else
:
else
:
config
=
defaultdict
(
list
)
config
=
defaultdict
(
list
)
for
t
in
ALGO_TYPES
:
for
t
in
ALGO_TYPES
:
...
...
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