Skip to content

Commit

Permalink
Rename DJL-Easy to DJL-Zero (#519)
Browse files Browse the repository at this point in the history
Change-Id: I7b40591eb1e3768ea790b100665127adf3cf8091
  • Loading branch information
zachgk authored Jan 14, 2021
1 parent 79fa9ac commit daa9a4c
Show file tree
Hide file tree
Showing 15 changed files with 37 additions and 38 deletions.
14 changes: 0 additions & 14 deletions djl-easy/src/main/javadoc/overview.html

This file was deleted.

8 changes: 4 additions & 4 deletions djl-easy/README.md → djl-zero/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# DJL Easy
# DJL Zero

## Overview

This module is a no deep learning knowledge required wrapper over DJL. Instead of worrying about finding a model or how to train, this will provide a simple recommendation for your deep learning application. It is the easiest way to get started with DJL and get a solution for your deep learning problem.
This module is a zero deep learning knowledge required wrapper over DJL. Instead of worrying about finding a model or how to train, this will provide a simple recommendation for your deep learning application. It is the easiest way to get started with DJL and get a solution for your deep learning problem.

## List of Applications

Expand All @@ -13,7 +13,7 @@ This module contains the following applications:

## Documentation

The latest javadocs can be found on the [djl.ai website](https://javadoc.io/doc/ai.djl/easy/latest/index.html).
The latest javadocs can be found on the [djl.ai website](https://javadoc.io/doc/ai.djl/zero/latest/index.html).

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

Expand All @@ -33,7 +33,7 @@ You can pull the module from the central Maven repository by including the follo
```xml
<dependency>
<groupId>ai.djl</groupId>
<artifactId>easy</artifactId>
<artifactId>djl-zero</artifactId>
<version>0.10.0-SNAPSHOT</version>
</dependency>
```
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package ai.djl.easy;
package ai.djl.zero;

import ai.djl.training.dataset.Dataset;
import ai.djl.training.dataset.Dataset.Usage;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package ai.djl.easy;
package ai.djl.zero;

/**
* Describes the speed/accuracy tradeoff.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package ai.djl.easy;
package ai.djl.zero;

import ai.djl.engine.Engine;
import ai.djl.repository.zoo.ModelZoo;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package ai.djl.easy.cv;
package ai.djl.zero.cv;

import ai.djl.Application.CV;
import ai.djl.MalformedModelException;
import ai.djl.Model;
import ai.djl.basicdataset.cv.classification.ImageNet;
import ai.djl.basicdataset.cv.classification.Mnist;
import ai.djl.basicmodelzoo.cv.classification.ResNetV1;
import ai.djl.easy.Performance;
import ai.djl.easy.RequireZoo;
import ai.djl.modality.Classifications;
import ai.djl.modality.cv.Image;
import ai.djl.modality.cv.transform.Resize;
Expand All @@ -41,6 +39,8 @@
import ai.djl.training.loss.Loss;
import ai.djl.translate.TranslateException;
import ai.djl.translate.Translator;
import ai.djl.zero.Performance;
import ai.djl.zero.RequireZoo;
import java.io.IOException;
import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package ai.djl.easy.cv;
package ai.djl.zero.cv;

import ai.djl.basicdataset.ImageClassificationDataset;
import ai.djl.easy.DatasetFactory;
import ai.djl.training.dataset.Dataset.Usage;
import ai.djl.zero.DatasetFactory;
import java.util.List;

/** A {@link DatasetFactory} for {@link ImageClassification}. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
*/

/**
* Contains easy pretrained models and training for Computer Vision({@link ai.djl.Application.CV})
* tasks.
* Contains pretrained models and training for Computer Vision({@link ai.djl.Application.CV}) tasks.
*/
package ai.djl.easy.cv;
package ai.djl.zero.cv;
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
*/

/**
* Contains a no deep learning knowledge required wrapper over DJL.
* Contains a zero deep learning knowledge required wrapper over DJL.
*
* <p><a href="https://docs.djl.ai/easy/index.html">See more details</a>.
* <p><a href="https://docs.djl.ai/zero/index.html">See more details</a>.
*/
package ai.djl.easy;
package ai.djl.zero;
14 changes: 14 additions & 0 deletions djl-zero/src/main/javadoc/overview.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<p>This document is the API specification for the Deep Java Library (DJL) Zero API.</p>

<p>
The zero module contains a zero deep learning knowledge required wrapper over DJL.
See <a href="https://github.com/awslabs/djl/tree/master/djl-zero">here</a> for more details.
</p>

</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package ai.djl.easy.cv;
package ai.djl.zero.cv;

import ai.djl.MalformedModelException;
import ai.djl.easy.Performance;
import ai.djl.easy.cv.ImageClassification.Classes;
import ai.djl.modality.cv.Image;
import ai.djl.repository.zoo.ModelNotFoundException;
import ai.djl.repository.zoo.ZooModel;
import ai.djl.zero.Performance;
import ai.djl.zero.cv.ImageClassification.Classes;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
* and limitations under the License.
*/

/** Contains tests for {@link ai.djl.easy.cv}. */
package ai.djl.easy.cv;
/** Contains tests for {@link ai.djl.zero.cv}. */
package ai.djl.zero.cv;
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include ':api'
include ':basicdataset'
include ':examples'
include ':model-zoo'
include ':djl-easy'
include ':djl-zero'
include ':serving'
include ':integration'
include ':mxnet:jnarator'
Expand Down

0 comments on commit daa9a4c

Please sign in to comment.