Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Fix nnictl experiment delete #2791

Merged
merged 28 commits into from
Aug 14, 2020
Merged
Changes from 18 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
dcd2ffd
Merge pull request #251 from microsoft/master
SparkSnail May 29, 2020
3b8b6fb
Merge pull request #252 from microsoft/master
SparkSnail Jun 7, 2020
916e444
Merge pull request #253 from microsoft/master
SparkSnail Jun 15, 2020
caeffb8
Merge pull request #254 from microsoft/master
SparkSnail Jun 17, 2020
57c300e
Merge pull request #255 from microsoft/master
SparkSnail Jun 28, 2020
65660e6
Merge pull request #257 from microsoft/master
SparkSnail Jun 30, 2020
9376d6a
Merge pull request #258 from microsoft/master
SparkSnail Jul 1, 2020
5fef3cf
Merge pull request #259 from microsoft/master
SparkSnail Jul 3, 2020
5544ae8
Merge pull request #261 from microsoft/master
SparkSnail Jul 10, 2020
f9fdfee
Merge pull request #262 from microsoft/master
SparkSnail Jul 16, 2020
c5e26ef
add trial job detail link
SparkSnail Jul 19, 2020
10a04ba
Merge branch 'master' of https://github.com/SparkSnail/nni
SparkSnail Jul 23, 2020
aa64fe6
Merge pull request #263 from microsoft/master
SparkSnail Jul 27, 2020
4ed907f
Merge branch 'master' of https://github.com/SparkSnail/nni
SparkSnail Jul 27, 2020
c6a5f8c
Merge pull request #264 from microsoft/master
SparkSnail Jul 31, 2020
68abe2f
Merge pull request #265 from microsoft/master
SparkSnail Aug 4, 2020
c2b50d2
Merge branch 'master' of https://github.com/SparkSnail/nni
SparkSnail Aug 6, 2020
1e1caa5
fix experiment delete
SparkSnail Aug 13, 2020
a54ba7e
fix comments
SparkSnail Aug 13, 2020
14e9619
Merge pull request #266 from microsoft/master
SparkSnail Aug 13, 2020
4a07093
Merge branch 'master' of https://github.com/SparkSnail/nni into dev-f…
SparkSnail Aug 13, 2020
2a1d3e6
fix comments
SparkSnail Aug 13, 2020
895fdbb
fix comments
SparkSnail Aug 13, 2020
449f46c
fix comments
SparkSnail Aug 13, 2020
f69e206
Merge pull request #267 from microsoft/master
SparkSnail Aug 13, 2020
5ea1087
fix conflict
SparkSnail Aug 13, 2020
3017d9d
fix comments
SparkSnail Aug 13, 2020
06273a0
Remove unused imports
ultmaster Aug 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tools/nni_cmd/nnictl_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,8 @@ def experiment_clean(args):
home = str(Path.home())
local_dir = nni_config.get_config('experimentConfig').get('logDir')
if not local_dir:
local_dir = os.path.join(home, 'nni', 'experiments', experiment_id)
local_dir = os.path.join(home, 'nni', 'experiments')
SparkSnail marked this conversation as resolved.
Show resolved Hide resolved
local_dir = os.path.join(local_dir, experiment_id)
local_clean(local_dir)
experiment_config = Experiments()
print_normal('removing metadata of experiment {0}'.format(experiment_id))
Expand Down