-
Notifications
You must be signed in to change notification settings - Fork 1.8k
error when using 'nnictl view' #3495
Comments
please check if you have
It seems the |
For this experiment, you can set And to solve this issue, could you show your |
@J-shang, I encountered this problem when using When I set
|
oops! Looking forward to the |
@J-shang Hi, I update the nni to v2.2 by |
@Roy-Kid Hello, this may due to By the way, why you use |
@J-shang Thanks! I fix it. Using sudo is a very bad habit and I will also fix it in the future. Thanks again for your kindly help! |
Environment:
INFO: view experiment sr5k10ga...
Traceback (most recent call last):
File "/home/roy/.local/bin/nnictl", line 8, in
sys.exit(parse_args())
File "/home/roy/.local/lib/python3.8/site-packages/nni/tools/nnictl/nnictl.py", line 272, in parse_args
args.func(args)
File "/home/roy/.local/lib/python3.8/site-packages/nni/tools/nnictl/launcher.py", line 646, in view_experiment
manage_stopped_experiment(args, 'view')
File "/home/roy/.local/lib/python3.8/site-packages/nni/tools/nnictl/launcher.py", line 633, in manage_stopped_experiment
experiment_config = Config(experiment_id, experiments_dict[args.id]['logDir']).get_config()
File "/home/roy/.local/lib/python3.8/site-packages/nni/tools/nnictl/config_utils.py", line 88, in init
self.conn = sqlite3.connect(os.path.join(log_dir, experiment_id, 'db', 'nni.sqlite'))
File "/usr/lib/python3.8/posixpath.py", line 76, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
After trial, I use
nnictl
to check out the result but the error raise. I try to find the solution in the issues and someone says that if conda used will fix this. But I did fix it. Can someone tells me how to fix this problem?The text was updated successfully, but these errors were encountered: