2

I have a pipeline step which produces image labels like the one exported from a Data Labeling project which is a jsonl file.

This step produces the jsonl label file in a OutputFileDatasetConfig and then I think I would do

output_file_dataset_config.read_json_lines_files().register_on_complete("foo")

but this magical read_json_lines_files() function does not exists.

How can I achieve the same behavior with then currently available API?

Francois
  • 852
  • 6
  • 17

1 Answers1

1

that is weird! especially because the OutputDatasetConfig docs give an example where they do something very similar! I suggest opening a priority support ticket if possible.

output = OutputFileDatasetConfig().read_delimited_files().register_on_complete('foo')
Anders Swanson
  • 3,637
  • 1
  • 18
  • 43