Exercise 1: ExampleGen

Dear Learner,

I would like anyone to help this problem by showing as screenshot in which i don’t know where I am wrong since code below is corrected as context.run(example_gen)

START CODE HERE

Instantiate ExampleGen with the input CSV dataset

example_gen = CsvExampleGen(input_base=_data_root)

Run the component using the InteractiveContext instance

context.run(example_gen)

END CODE HERE

Hi! Can you show the entire error message especially the last parts? There might be details there that will help. Thanks!

Hi Chanthaleex,

You have to use CsvExampleGen from tfx.components.