icevision_parse: Parse

View source: R/icevision_parsers.R

icevision_parseR Documentation

Parse

Description

Loops through all data points parsing the required fields.

Usage

icevision_parse(
  data_splitter = NULL,
  idmap = NULL,
  autofix = TRUE,
  show_pbar = TRUE,
  cache_filepath = NULL
)

Arguments

data_splitter

How to split the parsed data, defaults to a [0.8, 0.2] random split.

idmap

Maps from filenames to unique ids, pass an 'IDMap()' if you need this information.

autofix

autofix

show_pbar

Whether or not to show a progress bar while parsing the data.

cache_filepath

Path to save records in pickle format. Defaults to NULL, e.g. if the user does not specify a path, no saving nor loading happens.

Value

A list of records for each split defined by data_splitter.


fastai documentation built on June 22, 2024, 11:15 a.m.