No `read_json_lines_files()` function for `OutputFileDatasetConfig`

Viewed 83

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?

1 Answers

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')
Related