copy_images_to_hdfs: Copy images required for the image classification demo to...

Description Usage Arguments Details Value

View source: R/utils.R

Description

Copy train- and test- images required for the dogs-vs-cats sparklyr image classification demo to HDFS.

Usage

1

Arguments

dest_dir

The destination directory on HDFS containing images required for the demo (e.g., "/dogs-vs-cats"). If unspecified, then it will be a randomly generated path of the following form: /dogs-vs-cats_<UUID>.

Details

The directory structure will be the following:

<dest-dir>/ \ train/ |\ | dogs/ | \ | dog.*.jpg | |\ | cats/ | \ | cat.*.jpg | test/ |\ | dogs/ | \ | dog.*.jpg \ cats/ \ cat.*.jpg

Value

The destination directory on HDFS (e.g., "/dogs-vs-cats_<UUID>").


mlverse/sparklyr-image-classification-demo documentation built on Dec. 21, 2021, 8:04 p.m.