icevision_parse: Parse

Description Usage Arguments Value

View source: R/icevision_parsers.R

Description

Loops through all data points parsing the required fields.

Usage

1
2
3
4
5
6
7
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 July 28, 2021, 5:06 p.m.