Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metrics #8

Open
ghost opened this issue Oct 29, 2020 · 0 comments
Open

metrics #8

ghost opened this issue Oct 29, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 29, 2020

getting this error when enabling metrics

tick 0 kimg 0.1 lod 0.00 minibatch 16 time 53s sec/tick 53.1 sec/kimg 830.11 maintenance 0.0 gpumem 9.8
g loss [[3.0140555]
[2.963008 ]]
{'metric_name': 'fid1k', 'mirror_augment': True, 'tfrecord_dir': '', 'shuffle_mb': 0, 'max_images': None, 'skip_images': None}
Traceback (most recent call last):
File "run_training.py", line 254, in
main()
File "run_training.py", line 249, in main
run(**vars(args))
File "run_training.py", line 169, in run
dnnlib.submit_run(**kwargs)
File "/content/few-shot-gan/dnnlib/submission/submit.py", line 343, in submit_run
return farm.submit(submit_config, host_run_dir)
File "/content/few-shot-gan/dnnlib/submission/internal/local.py", line 22, in submit
return run_wrapper(submit_config)
File "/content/few-shot-gan/dnnlib/submission/submit.py", line 280, in run_wrapper
run_func_obj(**submit_config.run_func_kwargs)
File "/content/few-shot-gan/training/training_loop.py", line 424, in training_loop
metrics.run(pkl, run_dir=dnnlib.make_run_dir_path(), data_dir=dnnlib.convert_path(eval_data_dir), num_gpus=num_gpus, tf_config=tf_config, rho=rho)
File "/content/few-shot-gan/metrics/metric_base.py", line 161, in run
metric.run(*args, **kwargs)
File "/content/few-shot-gan/metrics/metric_base.py", line 74, in run
self._evaluate(Gs, Gs_kwargs=Gs_kwargs, num_gpus=num_gpus, rho=rho)
File "/content/few-shot-gan/metrics/frechet_inception_distance.py", line 35, in _evaluate
cache_file = self._get_cache_file_for_reals(num_images=self.num_images)
File "/content/few-shot-gan/metrics/metric_base.py", line 124, in _get_cache_file_for_reals
dataset_name = os.path.splitext(os.path.basename(dataset_name))[0]
File "/usr/lib/python3.6/posixpath.py", line 146, in basename
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants