Update lerobot/common/policies/pi0fast/configuration_pi0fast.py
Co-authored-by: Dana Aubakirova <118912928+danaaubakirova@users.noreply.github.com>
This commit is contained in:
parent
e4c1f2a76f
commit
704e84c055
|
@ -79,6 +79,8 @@ class PI0FASTConfig(PreTrainedConfig):
|
|||
precision: str = "bfloat16"
|
||||
grad_clip_norm: float = 1
|
||||
|
||||
# Allows padding/truncation of generated action tokens during detokenization to ensure decoding.
|
||||
# In the original version, tensors of 0s were generated if shapes didn't match for stable decoding.
|
||||
relaxed_decoding: bool = True
|
||||
|
||||
def __post_init__(self):
|
||||
|
|
Loading…
Reference in New Issue