kerasCreateDataset_2d: Function to import data to train the model

Description Usage Arguments Examples

View source: R/cleavageModelAndPrediction.R

Description

Make sure to have a dir called train and your picures in dirs in this dir. The pictures must be sorted so that a category of pics is in each subdir of the train dir. Ex, all cat pics in a sub dir called cats and all dog pics in a subdir called dogs.

Usage

1
kerasCreateDataset_2d(homePath = "example/", pixels = 28)

Arguments

homePath

Path to your working directory

pixels

Desired pixel size of the images

Examples

1
kerasCreateDataset_2d(homePath = "keras/3categories/", pixels = 28)

kristianHoden/smartPARE documentation built on July 3, 2021, 7:10 p.m.