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
Hello Danijar,
Thanks for the amazing repo! Great work.
So I have a sizeable state space (more than in minecraft, for sure), and I have at least a dozen 3-dim float32 tensors.
They seem to be prohibited by this assertion:
classEncoder(nj.Module):
# ...encoder params...def__init__(self, obs_space, **kw):
assertall(len(s.shape) <=3forsinobs_space.values()), obs_spaceself.obs_space=obs_spaceself.veckeys= [kfork, sinobs_space.items() iflen(s.shape) <=2]
self.imgkeys= [kfork, sinobs_space.items() iflen(s.shape) ==3] #< collected hereself.depths=tuple(self.depth*multformultinself.mults)
self.kw=kw#which is later asserted as uint:assertall(x.dtype==jnp.uint8forxinimgs)
Is there a reason for prohibition of other dtypes? For me, it's a fact of environment that I need to use float32 and not int32 because I'm working with precision data. It's simply unavoidable to use the float32.
I also have a few 4-dimensional tensors which I should use. What edits should be made to support them? (there is an assertion that prohibits shape to be >3dim state.
Cheers,
Maksym
The text was updated successfully, but these errors were encountered:
Hello @danijar,
Any ideas on this? I'm blocked by this.
Should I just expand the the imgkeys to support 4-dim tensors?
Also, I would add that I have a lot of data which is high-dimensional but not really an "image". Think points in a pointcloud.
Should it go to veckeys and not imgkeys? Since the data isn't really related and is more "SQL-like".
Cheers.
Hello Danijar,
Thanks for the amazing repo! Great work.
So I have a sizeable state space (more than in minecraft, for sure), and I have at least a dozen 3-dim float32 tensors.
They seem to be prohibited by this assertion:
Is there a reason for prohibition of other dtypes? For me, it's a fact of environment that I need to use float32 and not int32 because I'm working with precision data. It's simply unavoidable to use the float32.
I also have a few 4-dimensional tensors which I should use. What edits should be made to support them? (there is an assertion that prohibits shape to be >3dim state.
Cheers,
Maksym
The text was updated successfully, but these errors were encountered: