Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.55 KB

README.md

File metadata and controls

52 lines (39 loc) · 1.55 KB

DJL - Basic Dataset

Overview

This module contains a number of basic and standard datasets in the Deep Java Library's (DJL). These datasets are used to train deep learning models.

You can find the datasets provided by this module on our docs.

Documentation

The latest javadocs can be found on here.

You can also build the latest javadocs locally using the following command:

# for Linux/macOS:
./gradlew javadoc

# for Windows:
..\gradlew javadoc

The javadocs output is built in the build/doc/javadoc folder.

Installation

You can pull the module from the central Maven repository by including the following dependency in your pom.xml file:

<dependency>
    <groupId>ai.djl</groupId>
    <artifactId>basicdataset</artifactId>
    <version>0.30.0</version>
</dependency>

Some datasets(e.g. COCO) contains non-standard image files. OpenJDK may fail to load these images. twelvemonkeys ImageIO plugins provide a wide range of image format support. If you need to load images that not supported by default JDK, you can consider add the following dependencies into your project:

    <dependency>
        <groupId>com.twelvemonkeys.imageio</groupId>
        <artifactId>imageio-jpeg</artifactId>
        <version>3.11.0</version>
    </dependency>
    <dependency>
        <groupId>com.twelvemonkeys.imageio</groupId>
        <artifactId>imageio-bmp</artifactId>
        <version>3.11.0</version>
    </dependency>
    ...