File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -187,10 +187,16 @@ def train(cfg: TrainPipelineConfig):
187
187
if cfg .policy .pretrained_path is not None :
188
188
processor_kwargs ["preprocessor_overrides" ] = {
189
189
"device_processor" : {"device" : device .type },
190
- "normalizer_processor" : {"stats" : dataset .meta .stats },
190
+ "normalizer_processor" : {
191
+ "stats" : dataset .meta .stats ,
192
+ "features" : {** policy .config .input_features , ** policy .config .output_features },
193
+ },
191
194
}
192
195
processor_kwargs ["postprocessor_overrides" ] = {
193
- "unnormalizer_processor" : {"stats" : dataset .meta .stats },
196
+ "unnormalizer_processor" : {
197
+ "stats" : dataset .meta .stats ,
198
+ "features" : {** policy .config .input_features , ** policy .config .output_features },
199
+ },
194
200
}
195
201
196
202
preprocessor , postprocessor = make_pre_post_processors (
You can’t perform that action at this time.
0 commit comments