C2W3 - Q2 - ExampleGen

I’m having trouble with Q2 ExampleGen - I think I have identified the correct directory that was created in Exercise 1 but the code still doesn’t seem to work. What am I doing incorrectly?

Hi Semant,

Thanks for your question.
The input_base argument in CsvExampleGen requires a path to a directory (and not a file). Tip , please check the path variables defined under exercise 1.
Hopefully this helps


Hi - I get the same error. Tried giving the TRAINING_DIR as the input_base.
Also tried clearing the checkpoints.

Why would you want to use TRAINING_DIR when you’ve already selected k best features? Please use the directory containing the k best features.

Oh yeah… thank you. .it worked…!