Hi, all.
I have a question about TFX’s Trainer component.
How can I access post-transform-statistics(output of Transform component) in the Trainer’s run_fn
?
I checked that post-transform-statistics is emitted by Transform, but standard_artifacts.ExampleStatistics
cannot be passed to Trainer
- tfx/standard_component_specs.py at v1.5.0 · tensorflow/tfx · GitHub (TransformSpec)
- tfx/standard_component_specs.py at v1.5.0 · tensorflow/tfx · GitHub (TrainerSpec)
I know I can parse version in the path and join paths for the post-transform-statistics using fn_args.transform_graph_path
that is the argument of Trainer’s run_fn
, but I don’t think that is a good option.
Thanks