View source: R/cycleGAN_models.R
get_dls | R Documentation |
Given image files from two domains ('pathA', 'pathB'), create 'DataLoaders' object.
get_dls(
pathA,
pathB,
num_A = NULL,
num_B = NULL,
load_size = 512,
crop_size = 256,
bs = 4,
num_workers = 2
)
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 |
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).
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.