File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ def __init__(
249249 logging .info (f"horizon: { self .horizon } " )
250250 logging .info (f"unnorm_key: { self .unnorm_key } " )
251251 logging .info (f"kwargs: { kwargs } " )
252- if self .checkpoint_step is None or self . checkpoint_path is None :
252+ if self .checkpoint_path is None :
253253 self .octo_path = self .default_checkpoint_path
254254 logging .info (f"Using default checkpoint path: { self .octo_path } " )
255255 if self .checkpoint_step is not None :
@@ -364,6 +364,7 @@ def act(self, obs: Obs) -> Act:
364364 """
365365 import jax
366366 import jax .numpy as jnp
367+
367368 self ._from_shared_memory (obs )
368369
369370 batch_size = obs .cameras ["rgb_side" ].shape [0 ]
@@ -407,6 +408,7 @@ class OpenVLADistribution(OpenVLAModel):
407408 def act (self , obs : Obs ) -> Act :
408409 # no batch dimension here
409410 import torch
411+
410412 self ._from_shared_memory (obs )
411413
412414 assert self .instruction is not None , "forgot reset?"
You can’t perform that action at this time.
0 commit comments