添加pad_loss
This commit is contained in:
@@ -248,7 +248,8 @@ def main(cfg: DictConfig):
|
||||
return {
|
||||
'images': images,
|
||||
'qpos': batch_data['observation.state'], # SimpleRobotDataset 使用 observation.state
|
||||
'action': batch_data['action']
|
||||
'action': batch_data['action'],
|
||||
'action_is_pad': batch_data.get('action_is_pad', None) # 传递padding mask
|
||||
}
|
||||
|
||||
def run_validation():
|
||||
|
||||
Reference in New Issue
Block a user