View source: R/segmentation_generator.R
Generates images/masks path from selected configuration.
1 2 3 4 5 6 7 | create_images_masks_paths(
path,
mode,
only_images,
subdirs = c("images", "masks"),
column_sep = ";"
)
|
path |
Images directories or configuration file path. |
mode |
Character. One of 'c("dir", "nested_dirs", "config_file")' or 'c(1, 2, 3)' correspondingly. |
only_images |
Should generator read only images (e.g. on train set for predictions). |
subdirs |
Vector of two characters containing names of subdirectories with images and masks. |
column_sep |
Character. Configuration file separator. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.