T - the builder typepublic abstract static class AbstractImageFolder.ImageFolderBuilder<T extends AbstractImageFolder.ImageFolderBuilder>
extends ai.djl.training.dataset.RandomAccessDataset.BaseBuilder<T>
AbstractImageFolder.| Modifier | Constructor and Description |
|---|---|
protected |
ImageFolderBuilder() |
| Modifier and Type | Method and Description |
|---|---|
T |
optFlag(ai.djl.modality.cv.util.NDImageUtils.Flag flag)
Sets the optional color mode flag.
|
T |
setRepository(ai.djl.repository.Repository repository)
Sets the repository containing the image folder.
|
public T optFlag(ai.djl.modality.cv.util.NDImageUtils.Flag flag)
flag - the color mode flagpublic T setRepository(ai.djl.repository.Repository repository)
repository - the repository containing the image folder