You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As briefly discussed in #35, the error occurs when using jax_dataclasses > 1.3.0 and after some investigation I found out that the problem is that when get_type_hints, that it was not present in the working version (jax_dataclasses==1.3.0) gets called from _register_pytree_dataclass raises an error in line 80:
As briefly discussed in #35, the error occurs when using
jax_dataclasses > 1.3.0
and after some investigation I found out that the problem is that whenget_type_hints
, that it was not present in the working version (jax_dataclasses==1.3.0
) gets called from_register_pytree_dataclass
raises an error in line 80:https://github.com/brentyi/jax_dataclasses/blob/08ae5bb5d0ebd271d9516e7d0c6d46b3fc48b246/jax_dataclasses/_get_type_hints.py#L66-L82 (this snippet does not load as usual 😕 )
specifically when it tries to evaluate
"jaxsim.high_level.model.Model"
and that might result in a circular import.Error
I'm still working on it. It may be useful to look at
jdc_update
branch of my fork.C.C. @diegoferigo @traversaro
The text was updated successfully, but these errors were encountered: