Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_dls

Get dls


Description

Given image files from two domains ('pathA', 'pathB'), create 'DataLoaders' object.

Usage

get_dls(
  pathA,
  pathB,
  num_A = NULL,
  num_B = NULL,
  load_size = 512,
  crop_size = 256,
  bs = 4,
  num_workers = 2
)

Arguments

pathA

path A (from domain)

pathB

path B (to domain)

num_A

subset of A data

num_B

subset of B data

load_size

load size

crop_size

crop size

bs

bathc size

num_workers

number of workers

Details

Loading and randomly cropped sizes of 'load_size' and 'crop_size' are set to defaults of 512 and 256. Batch size is specified by 'bs' (default=4).

Value

None


fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.