mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-28 06:59:44 +00:00
fix
This commit is contained in:
@@ -61,15 +61,17 @@ class RLearNConfig(PreTrainedConfig):
|
|||||||
use_tanh_head: bool = False # when True, bound outputs in [-1, 1]
|
use_tanh_head: bool = False # when True, bound outputs in [-1, 1]
|
||||||
|
|
||||||
# Training
|
# Training
|
||||||
learning_rate: float = 1e-4
|
learning_rate: float = 3e-5
|
||||||
weight_decay: float = 0.01
|
weight_decay: float = 0.01
|
||||||
|
|
||||||
# ReWiND-specific parameters
|
# ReWiND-specific parameters
|
||||||
use_video_rewind: bool = True # Enable video rewinding augmentation
|
use_video_rewind: bool = False # Enable video rewinding augmentation
|
||||||
rewind_prob: float = 0.8 # Probability of applying rewind to each sample (paper: ~80%)
|
rewind_prob: float = 0.8 # Probability of applying rewind to each sample (paper: ~80%)
|
||||||
rewind_last3_prob: float = 0.1 # Of the rewinds, 10% only rewind the last 3 frames
|
rewind_last3_prob: float = 0.1 # Of the rewinds, 10% only rewind the last 3 frames
|
||||||
use_mismatch_loss: bool = True # Enable mismatched language-video loss
|
use_mismatch_loss: bool = False # Enable mismatched language-video loss
|
||||||
mismatch_prob: float = 0.2 # Probability to include a mismatched video-language forward pass (paper: ~20%)
|
mismatch_prob: float = (
|
||||||
|
0.2 # Probability to include a mismatched video-language forward pass (paper: ~20%)
|
||||||
|
)
|
||||||
|
|
||||||
# Loss hyperparameters (simplified for ReWiND)
|
# Loss hyperparameters (simplified for ReWiND)
|
||||||
# The main loss is just MSE between predicted and target progress
|
# The main loss is just MSE between predicted and target progress
|
||||||
|
|||||||
Reference in New Issue
Block a user