mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-16 14:32:03 +00:00
chore(format): formating code
This commit is contained in:
@@ -375,8 +375,7 @@ class LeRobotDatasetMetadata:
|
|||||||
continue
|
continue
|
||||||
factor = MM_PER_METRE if stored_unit == DEPTH_METER_UNIT else 1.0 / MM_PER_METRE
|
factor = MM_PER_METRE if stored_unit == DEPTH_METER_UNIT else 1.0 / MM_PER_METRE
|
||||||
self.stats[key] = {
|
self.stats[key] = {
|
||||||
stat: value if stat == "count" else value * factor
|
stat: value if stat == "count" else value * factor for stat, value in self.stats[key].items()
|
||||||
for stat, value in self.stats[key].items()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|||||||
Reference in New Issue
Block a user