Merge branch 'user/mshukor/2025_03_24_pi0fast' of github.com:mshukor/lerobot into user/mshukor/2025_03_24_pi0fast

merge
This commit is contained in:
mshukor 2025-04-02 17:00:06 +02:00
commit 1daa9aae9e
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ PRECISION = {
"bfloat16": torch.bfloat16, "bfloat16": torch.bfloat16,
} }
def normalize(x, min_val, max_val): def normalize(x, min_val, max_val):
return (x - min_val) / (max_val - min_val) return (x - min_val) / (max_val - min_val)