-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I tried command
python evaluation.py configs/infer.yaml \
infer.ckpt_path=ckpts/epoch=29.ckpt \
infer.save_folder=outputs/single-view/ \
infer.dataset.generator_type="zero123plus-v1" \
infer.dataset.image_pathes=\["assets/result_image.png"\]
result_image is my own image.
But it shows that I need to add dataset_name, and I uncommment GSO in infer.yaml but still get wrong.
I tried other line also returns error.
Here are some errors.
evaluation.py 186 <module>
main(cfg)
_contextlib.py 115 decorate_context
return func(*args, **kwargs)
evaluation.py 37 main
loader = DataLoader(dataset(cfg.infer.dataset),
google_scanned_objects.py 20 __init__
self.data_root = cfg.data_root
dictconfig.py 355 __getattr__
self._format_and_raise(
base.py 231 _format_and_raise
format_and_raise(
_utils.py 899 format_and_raise
_raise(ex, cause)
_utils.py 797 _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
dictconfig.py 351 __getattr__
return self._get_impl(
dictconfig.py 442 _get_impl
node = self._get_child(
basecontainer.py 73 _get_child
child = self._get_node(
dictconfig.py 480 _get_node
raise ConfigKeyError(f"Missing key {key!s}")
omegaconf.errors.ConfigAttributeError:
Missing key data_root
full_key: infer.dataset.data_root
object_type=dict
evaluation.py 186 <module>
main(cfg)
_contextlib.py 115 decorate_context
return func(*args, **kwargs)
evaluation.py 36 main
dataset = dataset_dict[cfg.infer.dataset.dataset_name]
KeyError:
unposed
I think there maybe something I missed...
Metadata
Metadata
Assignees
Labels
No labels