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

dataset_name problem #19

Open
lemondante opened this issue Feb 6, 2025 · 0 comments
Open

dataset_name problem #19

lemondante opened this issue Feb 6, 2025 · 0 comments

Comments

@lemondante
Copy link

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...

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

1 participant