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

No option to set experiment configuration on expd run #1

Open
arao53 opened this issue Oct 25, 2024 · 0 comments
Open

No option to set experiment configuration on expd run #1

arao53 opened this issue Oct 25, 2024 · 0 comments

Comments

@arao53
Copy link

arao53 commented Oct 25, 2024

We are setting up an experiment with float and str inputs and a dict output. The trial is able to run successfully however, when we enter expd run in CLI, it opens a window that does not let us set the range of parameters of the inputs and returns the following traceback:

Traceback (most recent call last):
  File "~/venv/lib/python3.11/site-packages/marimo/_runtime/executor.py", line 157, in execute_cell
    exec(cell.body, glbls)
  Cell marimo:///var/folders/c4/xftw48qx1ln6q3hxvkc80tdw0000gn/T/tmpaflrku3r/explorer.py#cell=cell-3, line 1, in <module>
    args, constructors = get_explorer_elements(Inputs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/venv/lib/python3.11/site-packages/expd/dtypes/elements.py", line 103, in get_explorer_elements
    types = get_object_annotated_types(inputs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/venv/lib/python3.11/site-packages/expd/dtypes/dtyping.py", line 103, in get_object_annotated_types
    return {name: AnnotatedType.from_type(t) for name, t in types.items()}
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/venv/lib/python3.11/site-packages/expd/dtypes/dtyping.py", line 103, in <dictcomp>
    return {name: AnnotatedType.from_type(t) for name, t in types.items()}
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/venv/lib/python3.11/site-packages/expd/dtypes/dtyping.py", line 77, in from_type
    metadata = dt.bare_type_to_dtype(t)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/venv/lib/python3.11/site-packages/expd/dtypes/dtypes.py", line 598, in bare_type_to_dtype
    raise NotImplementedError
NotImplementedError
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