mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-25 10:46:01 +00:00
fix
This commit is contained in:
@@ -758,7 +758,7 @@ class RLearNPolicy(PreTrainedPolicy):
|
|||||||
# For longer sequences, show first 8 and last 8
|
# For longer sequences, show first 8 and last 8
|
||||||
print(f" Targets: {sample_targets[:8]} ... {sample_targets[-8:]}")
|
print(f" Targets: {sample_targets[:8]} ... {sample_targets[-8:]}")
|
||||||
print(f" Preds: {sample_preds[:8]} ... {sample_preds[-8:]}")
|
print(f" Preds: {sample_preds[:8]} ... {sample_preds[-8:]}")
|
||||||
else:
|
|
||||||
print(f"Sample {sample_idx}: T_eff={T_eff}, target ∈ [{sample_targets.min():.3f}, {sample_targets.max():.3f}], pred ∈ [{sample_preds.min():.3f}, {sample_preds.max():.3f}]")
|
print(f"Sample {sample_idx}: T_eff={T_eff}, target ∈ [{sample_targets.min():.3f}, {sample_targets.max():.3f}], pred ∈ [{sample_preds.min():.3f}, {sample_preds.max():.3f}]")
|
||||||
|
|
||||||
print(f"Loss: {loss:.6f}")
|
print(f"Loss: {loss:.6f}")
|
||||||
|
|||||||
Reference in New Issue
Block a user