View source: R/images_helpers.R
df_from_imagenet_dir | R Documentation |
The imagenet directory structure is laid out as follows
Top-level dirs: train
, test
, valid
(you should provide path to those dirs as input)
Mid-level dirs: class1
, class2
, ...
One directory for each class. The folders directly contain the images.
df_from_imagenet_dir(dirs)
dirs |
|
data.frame
with columns "image" and "class" (the class).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.