For example, the grader output from exercise 2 - 12:
ExampleGen
Failed test case: example_gen has incorrect type.
Expected:
<class ‘tfx.components.example_gen.csv_example_gen.component.CsvExampleGen’>,
but got:
<class ‘NoneType’>.
StatisticsGen
Failed test case: statistics_gen has incorrect type.
Expected:
<class ‘tfx.components.statistics_gen.component.StatisticsGen’>,
but got:
<class ‘NoneType’>.
SchemaGen
Failed test case: schema_gen has incorrect type.
Expected:
<class ‘tfx.components.schema_gen.component.SchemaGen’>,
but got:
<class ‘NoneType’>.
Curating the Schema
Failed test case: schema has incorrect type.
Expected:
<class ‘tensorflow_metadata.proto.v0.schema_pb2.Schema’>,
but got:
<class ‘NoneType’>.
Serving Environment
Failed test case: schema has incorrect type.
Expected:
<class ‘tensorflow_metadata.proto.v0.schema_pb2.Schema’>,
but got:
<class ‘NoneType’>.
ImportSchemaGen
Failed test case: user_schema_importer has incorrect type.
Expected:
<class ‘tfx.components.schema_gen.import_schema_gen.component.ImportSchemaGen’>,
but got:
<class ‘NoneType’>.
Statistics with the new schema
Failed test case: learner_statistics_gen_updated has incorrect type.
Expected:
<class ‘tfx.components.statistics_gen.component.StatisticsGen’>,
but got:
<class ‘NoneType’>.
ExampleValidator
Failed test case: example_validator has incorrect type.
Expected:
<class ‘tfx.components.example_validator.component.ExampleValidator’>,
but got:
<class ‘NoneType’>.
preprocessing_fn
Failed test case: preprocessing_fn has incorrect type.
Expected:
typing.Callable,
but got:
<class ‘NoneType’>.
Transform
Failed test case: example_validator has incorrect type.
Expected:
<class ‘tfx.components.transform.component.Transform’>,
but got:
<class ‘NoneType’>.
get_parent_artifacts
Failed test case: get_parent_artifacts has incorrect type.
Expected:
typing.Callable,
but got:
<class ‘NoneType’>.
Anyone know how to solve this?