C2W3 Assignment Exercise 8 - user_schema_importer.outputs['result'] Issue


I tried to look at other posts and the TFX documentation but I can’t figure out this error.

Exercise 8: Statistics with the new schema

Use StatisticsGen to compute the statistics with the schema you updated in the previous section.

If I try to use user_schema_importer.outputs[‘result’] as mentioned in the documentation it throws an error. For some reason, my updated schema does not have this attribute. Any tip is appreciated.

There is no results key inside user_schema_importer. Please look at the invocation of context.show in the previous code cell where you displayed the imported schema.