Skip to content

Commit db6db20

Browse files
authored
[docs] Updates docs website url (#3404)
1 parent 7ac48dd commit db6db20

File tree

35 files changed

+79
-76
lines changed

35 files changed

+79
-76
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Follow our [<img src='https://cdn2.iconfinder.com/data/icons/social-media-2285/5
151151

152152
* [DJL Website](https://djl.ai/)
153153
* [Documentation](https://docs.djl.ai/)
154-
* [DJL Demos](https://docs.djl.ai/docs/demos/index.html)
154+
* [DJL Demos](https://docs.djl.ai/master/docs/demos/index.html)
155155
* [Dive into Deep Learning Book Java version](https://d2l.djl.ai/)
156156

157157
## License

api/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tasks {
4040
"Notice" to "DJL will collect telemetry to help us better understand our users'" +
4141
" needs, diagnose issues, and deliver additional features. If you would" +
4242
" like to learn more or opt-out please go to: " +
43-
"https://docs.djl.ai/docs/telemetry.html for more information."
43+
"https://docs.djl.ai/master/docs/telemetry.html for more information."
4444
)
4545
}
4646
}

api/src/main/java/ai/djl/engine/Engine.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@
4848
* contain methods to detect information about the usable machine hardware and to create a new
4949
* {@link NDManager} and {@link Model}.
5050
*
51-
* @see <a href="http://docs.djl.ai/docs/engine.html">Engine Guide</a>
51+
* @see <a href="https://docs.djl.ai/master/docs/engine.html">Engine Guide</a>
5252
* @see EngineProvider
53-
* @see <a href="http://docs.djl.ai/docs/development/cache_management.html">The guide on resource
54-
* and engine caching</a>
53+
* @see <a href="https://docs.djl.ai/master/docs/development/cache_management.html">The guide on
54+
* resource and engine caching</a>
5555
*/
5656
public abstract class Engine {
5757

api/src/main/java/ai/djl/inference/Predictor.java

+8-7
Original file line numberDiff line numberDiff line change
@@ -61,25 +61,26 @@
6161
*
6262
* <ul>
6363
* <li><a
64-
* href="http://docs.djl.ai/docs/demos/jupyter/tutorial/03_image_classification_with_your_model.html">Inference
64+
* href="https://docs.djl.ai/master/docs/demos/jupyter/tutorial/03_image_classification_with_your_model.html">Inference
6565
* with a custom trained model</a>
6666
* <li><a
67-
* href="http://docs.djl.ai/docs/demos/jupyter/object_detection_with_model_zoo.html">Inference
67+
* href="https://docs.djl.ai/master/docs/demos/jupyter/object_detection_with_model_zoo.html">Inference
6868
* with a model zoo model</a>
69-
* <li><a href="http://docs.djl.ai/docs/demos/jupyter/load_mxnet_model.html">Inference with an
70-
* MXNet model</a>
69+
* <li><a href="https://docs.djl.ai/master/docs/demos/jupyter/load_mxnet_model.html">Inference
70+
* with an MXNet model</a>
7171
* </ul>
7272
*
7373
* @param <I> the input type
7474
* @param <O> the output type
7575
* @see Model
7676
* @see Translator
77-
* @see <a href="http://docs.djl.ai/docs/development/memory_management.html">The guide on memory
78-
* management</a>
77+
* @see <a href="https://docs.djl.ai/master/docs/development/memory_management.html">The guide on
78+
* memory management</a>
7979
* @see <a
8080
* href="https://github.com/deepjavalibrary/djl/blob/master/examples/docs/multithread_inference.md">The
8181
* guide on running multi-threaded inference</a>
82-
* @see <a href="http://docs.djl.ai/docs/development/inference_performance_optimization.html">The
82+
* @see <a
83+
* href="https://docs.djl.ai/master/docs/development/inference_performance_optimization.html">The
8384
* guide on inference performance optimization</a>
8485
*/
8586
public class Predictor<I, O> implements AutoCloseable {

api/src/main/java/ai/djl/nn/Block.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
* further refine these elements, use {@link Block#freezeParameters(boolean)} to unfreeze them.
106106
*
107107
* @see <a
108-
* href="http://docs.djl.ai/docs/demos/jupyter/tutorial/01_create_your_first_network.html">this
108+
* href="https://docs.djl.ai/master/docs/demos/jupyter/tutorial/01_create_your_first_network.html">this
109109
* tutorial on creating your first network</a>
110110
* @see <a href="https://d2l.djl.ai/chapter_deep-learning-computation/model-construction.html">The
111111
* D2L chapter on blocks</a> and <a

api/src/main/java/ai/djl/repository/zoo/Criteria.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
* .build();
5454
* </pre>
5555
*
56-
* <p>See <a href="http://docs.djl.ai/docs/load_model.html#criteria-class">Model loading</a> for
57-
* more detail.
56+
* <p>See <a href="https://docs.djl.ai/master/docs/load_model.html#criteria-class">Model loading</a>
57+
* for more detail.
5858
*
5959
* @param <I> the model input type
6060
* @param <O> the model output type

api/src/main/java/ai/djl/training/Trainer.java

+7-6
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,17 @@
5252
*
5353
* <ul>
5454
* <li><a
55-
* href="http://docs.djl.ai/docs/demos/jupyter/tutorial/02_train_your_first_model.html">Training
55+
* href="https://docs.djl.ai/master/docs/demos/jupyter/tutorial/02_train_your_first_model.html">Training
5656
* your first model</a>
57-
* <li><a href="http://docs.djl.ai/docs/demos/jupyter/transfer_learning_on_cifar10.html">Training
57+
* <li><a
58+
* href="https://docs.djl.ai/master/docs/demos/jupyter/transfer_learning_on_cifar10.html">Training
5859
* using transfer learning</a>
59-
* <li><a href="http://docs.djl.ai/docs/demos/jupyter/load_mxnet_model.html">Inference with an
60-
* MXNet model</a>
60+
* <li><a href="https://docs.djl.ai/master/docs/demos/jupyter/load_mxnet_model.html">Inference
61+
* with an MXNet model</a>
6162
* </ul>
6263
*
63-
* @see <a href="http://docs.djl.ai/docs/development/memory_management.html">The guide on memory
64-
* management</a>
64+
* @see <a href="https://docs.djl.ai/master/docs/development/memory_management.html">The guide on
65+
* memory management</a>
6566
*/
6667
public class Trainer implements AutoCloseable {
6768

api/src/main/java/ai/djl/training/dataset/Dataset.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
/**
2424
* An interface to represent a set of sample data/label pairs to train a model.
2525
*
26-
* @see <a href="http://docs.djl.ai/docs/dataset.html">The guide to datasets</a>
27-
* @see <a href="http://docs.djl.ai/docs/development/how_to_use_dataset.html">The guide to
26+
* @see <a href="https://docs.djl.ai/master/docs/dataset.html">The guide to datasets</a>
27+
* @see <a href="https://docs.djl.ai/master/docs/development/how_to_use_dataset.html">The guide to
2828
* implementing a custom dataset</a>
2929
*/
3030
public interface Dataset {

api/src/main/java/ai/djl/training/dataset/RandomAccessDataset.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
*
4343
* <p>Almost all datasets in DJL extend, either directly or indirectly, {@link RandomAccessDataset}.
4444
*
45-
* @see <a href="http://docs.djl.ai/docs/development/how_to_use_dataset.html">The guide to
45+
* @see <a href="https://docs.djl.ai/master/docs/development/how_to_use_dataset.html">The guide to
4646
* implementing a custom dataset</a>
4747
*/
4848
public abstract class RandomAccessDataset implements Dataset {

api/src/main/java/ai/djl/training/listener/LoggingTrainingListener.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
/**
3030
* {@link TrainingListener} that outputs the progress of training each batch and epoch into logs.
3131
*
32-
* @see <a href="http://docs.djl.ai/docs/development/configure_logging.html">The guide on DJL
33-
* logging</a>
32+
* @see <a href="https://docs.djl.ai/master/docs/development/configure_logging.html">The guide on
33+
* DJL logging</a>
3434
*/
3535
public class LoggingTrainingListener implements TrainingListener {
3636

api/src/main/java/ai/djl/util/Ec2Utils.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ public static void callHome(String engine) {
140140
"DJL will collect telemetry to help us better understand our users' needs,"
141141
+ " diagnose issues, and deliver additional features. If you would like"
142142
+ " to learn more or opt-out please go to:"
143-
+ " https://docs.djl.ai/docs/telemetry.html for more information.");
143+
+ " https://docs.djl.ai/master/docs/telemetry.html for more"
144+
+ " information.");
144145
}
145146
} catch (IOException e) {
146147
logger.debug("Failed call home.");

basicdataset/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
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.
66

7-
You can find the datasets provided by this module on our [docs](http://docs.djl.ai/docs/dataset.html).
7+
You can find the datasets provided by this module on our [docs](https://docs.djl.ai/master/docs/dataset.html).
88

99
## Documentation
1010

djl-zero/src/main/java/ai/djl/zero/RequireZoo.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static void basic() {
2929
if (!ModelZoo.hasModelZoo("ai.djl.zoo")) {
3030
throw new IllegalStateException(
3131
"The basic model zoo is required, but not found.Please install it by following"
32-
+ " http://docs.djl.ai/model-zoo/index.html#installation");
32+
+ " https://docs.djl.ai/model-zoo/index.html#installation");
3333
}
3434
}
3535

@@ -38,12 +38,12 @@ public static void mxnet() {
3838
if (!ModelZoo.hasModelZoo("ai.djl.mxnet")) {
3939
throw new IllegalStateException(
4040
"The MXNet model zoo is required, but not found.Please install it by following"
41-
+ " http://docs.djl.ai/engines/mxnet/mxnet-model-zoo/index.html#installation");
41+
+ " https://docs.djl.ai/master/engines/mxnet/mxnet-model-zoo/index.html#installation");
4242
}
4343
if (!Engine.hasEngine("MXNet")) {
4444
throw new IllegalStateException(
4545
"The MXNet engine is required, but not found.Please install it by following"
46-
+ " http://docs.djl.ai/engines/mxnet/mxnet-engine/index.html#installation");
46+
+ " https://docs.djl.ai/master/engines/mxnet/mxnet-engine/index.html#installation");
4747
}
4848
}
4949

@@ -53,12 +53,12 @@ public static void pytorch() {
5353
throw new IllegalStateException(
5454
"The PyTorch model zoo is required, but not found.Please install it by"
5555
+ " following"
56-
+ " http://docs.djl.ai/pytorch/pytorch-model-zoo/index.html#installation");
56+
+ " https://docs.djl.ai/master/pytorch/pytorch-model-zoo/index.html#installation");
5757
}
5858
if (!Engine.hasEngine("PyTorch")) {
5959
throw new IllegalStateException(
6060
"The PyTorch engine is required, but not found.Please install it by following"
61-
+ " http://docs.djl.ai/pytorch/pytorch-engine/index.html#installation");
61+
+ " https://docs.djl.ai/master/pytorch/pytorch-engine/index.html#installation");
6262
}
6363
}
6464

@@ -68,13 +68,13 @@ public static void tensorflow() {
6868
throw new IllegalStateException(
6969
"The TensorFlow model zoo is required, but not found.Please install it by"
7070
+ " following"
71-
+ " http://docs.djl.ai/engines/tensorflow/tensorflow-model-zoo/index.html#installation");
71+
+ " https://docs.djl.ai/master/engines/tensorflow/tensorflow-model-zoo/index.html#installation");
7272
}
7373
if (!Engine.hasEngine("TensorFlow")) {
7474
throw new IllegalStateException(
7575
"The TensorFlow engine is required, but not found.Please install it by"
7676
+ " following"
77-
+ " http://docs.djl.ai/engines/tensorflow/tensorflow-engine/index.html#installation");
77+
+ " https://docs.djl.ai/master/engines/tensorflow/tensorflow-engine/index.html#installation");
7878
}
7979
}
8080
}

djl-zero/src/main/java/ai/djl/zero/package-info.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
/**
1515
* Contains a zero deep learning knowledge required wrapper over DJL.
1616
*
17-
* <p><a href="https://docs.djl.ai/zero/index.html">See more details</a>.
17+
* <p><a href="https://docs.djl.ai/master/zero/index.html">See more details</a>.
1818
*/
1919
package ai.djl.zero;

docs/README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ Note: when searching in JavaDoc, if your access is denied, please try removing t
2020
- [Troubleshooting](development/troubleshooting.md)
2121
- [Inference Optimization](development/inference_performance_optimization.md)
2222

23-
## [Jupyter notebook tutorials](http://docs.djl.ai/docs/demos/jupyter/index.html)
24-
25-
- **[Beginner Jupyter Tutorial](http://docs.djl.ai/docs/demos/jupyter/tutorial/index.html)**
26-
- [Run object detection with model zoo](http://docs.djl.ai/docs/demos/jupyter/object_detection_with_model_zoo.html)
27-
- [Load pre-trained PyTorch model](http://docs.djl.ai/docs/demos/jupyter/load_pytorch_model.html)
28-
- [Load pre-trained Apache MXNet model](http://docs.djl.ai/docs/demos/jupyter/load_mxnet_model.html)
29-
- [Transfer learning example](http://docs.djl.ai/docs/demos/jupyter/transfer_learning_on_cifar10.html)
30-
- [Question answering example](http://docs.djl.ai/docs/demos/jupyter/BERTQA.html)
23+
## [Jupyter notebook tutorials](https://docs.djl.ai/master/docs/demos/jupyter/index.html)
24+
25+
- **[Beginner Jupyter Tutorial](https://docs.djl.ai/master/docs/demos/jupyter/tutorial/index.html)**
26+
- [Run object detection with model zoo](https://docs.djl.ai/master/docs/demos/jupyter/object_detection_with_model_zoo.html)
27+
- [Load pre-trained PyTorch model](https://docs.djl.ai/master/docs/demos/jupyter/load_pytorch_model.html)
28+
- [Load pre-trained Apache MXNet model](https://docs.djl.ai/master/docs/demos/jupyter/load_mxnet_model.html)
29+
- [Transfer learning example](https://docs.djl.ai/master/docs/demos/jupyter/transfer_learning_on_cifar10.html)
30+
- [Question answering example](https://docs.djl.ai/master/docs/demos/jupyter/BERTQA.html)
3131

3232
## [API Examples](../examples/README.md)
3333

docs/cv_utils.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,6 @@ img.save(out2, "png");
105105
```
106106

107107
## Useful Information
108-
If you want to learn more about loading models, click [here](http://docs.djl.ai/docs/load_model.html).
108+
If you want to learn more about loading models, click [here](https://docs.djl.ai/master/docs/load_model.html).
109109

110-
If you want to learn more about the model zoo, click [here](http://docs.djl.ai/docs/model-zoo.html).
110+
If you want to learn more about the model zoo, click [here](https://docs.djl.ai/master/docs/model-zoo.html).

docs/development/inference_performance_optimization.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ For engines that are thread-safe, we do nothing and for ones that are not, we wi
1515

1616
Therefore, we recommend creating a new [Predictor](https://javadoc.io/doc/ai.djl/api/latest/ai/djl/inference/Predictor.html) for each thread.
1717
That Predictor should be reused if the thread does multiple predictions.
18-
Alternatively, you can also use a pool of Predictors or you can leverage the [DJL Serving WorkLoadManager](http://docs.djl.ai/docs/serving/wlm/index.html).
18+
Alternatively, you can also use a pool of Predictors or you can leverage the [DJL Serving WorkLoadManager](https://docs.djl.ai/master/docs/serving/wlm/index.html).
1919

2020
For a reference implementation, see [Multi-threaded Benchmark](https://github.com/deepjavalibrary/djl-serving/blob/master/benchmark/src/main/java/ai/djl/benchmark/MultithreadedBenchmark.java).
2121

2222
In addition, you may need to set engine-specific configurations as well.
2323
Engine-specific details are given below.
24-
You can also reference the [list of all DJL system configurations](http://docs.djl.ai/docs/serving/serving/docs/configurations.html).
24+
You can also reference the [list of all DJL system configurations](https://docs.djl.ai/master/docs/serving/serving/docs/configurations.html).
2525

2626
### Apache MXNet
2727

docs/development/troubleshooting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ ensorflow.so: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.11'
204204
nsorflow/cache/2.3.1-cu101-linux-x86_64/libtensorflow.so.2)
205205
```
206206
207-
Please upgrade gcc version according to the steps on [TensorFlow install page](https://docs.djl.ai/engines/tensorflow/index.html#note)
207+
Please upgrade gcc version according to the steps on [TensorFlow install page](https://docs.djl.ai/master/engines/tensorflow/index.html#note)
208208
209209
## 9. X11 error when running object detection notebooks on EC2 instances.
210210

docs/interactive_tool.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ After that, click `run` and you should see the following result:
6363

6464
Finally, you can get the running project setup by clicking `Get Template`. This will bring you a gradle project that can be used in your local machine.
6565

66-
## [Java Jupyter Notebook](http://docs.djl.ai/docs/demos/jupyter/index.html)
66+
## [Java Jupyter Notebook](https://docs.djl.ai/master/docs/demos/jupyter/index.html)
6767

6868
Wait a second, are we talking about hosting Jupyter Notebook in python?
6969
No, it’s Java 11, only.
7070

7171
![jupyter](https://djl-ai.s3.amazonaws.com/web-data/images/jupyter.gif)
7272

7373
Inspired by Spencer Park’s [IJava project](https://github.com/SpencerPark/IJava), we integrated DJL with Jupyter Notebooks.
74-
For more information on the simple setup, follow the instructions in [DJL Jupyter notebooks](http://docs.djl.ai/docs/demos/jupyter/index.html#setup).
74+
For more information on the simple setup, follow the instructions in [DJL Jupyter notebooks](https://docs.djl.ai/master/docs/demos/jupyter/index.html#setup).
7575
After that, use the Jupyter Notebook freely in your hosted server. You can do all kinds of work, like block building and plotting a graph.
76-
There are [tutorials and instructions](http://docs.djl.ai/docs/demos/jupyter/index.html#djl---jupyter-notebooks) to guide you how you can run training and/or inference with Java.
76+
There are [tutorials and instructions](https://docs.djl.ai/master/docs/demos/jupyter/index.html#djl---jupyter-notebooks) to guide you how you can run training and/or inference with Java.

docs/pytorch/pytorch-djl-ndarray-cheatsheet.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
In the following examples, we assume
44

55
- `manager` is an instance of `ai.djl.ndarray.NDManager`
6-
- it is recommended to look through https://docs.djl.ai/docs/development/memory_management.html
6+
- it is recommended to look through https://docs.djl.ai/master/docs/development/memory_management.html
77
in advance so that you can get better insight of `NDManager`
88
- `$tensor` is a placeholder for an instance of `torch.tensor`
99
- `$ndarray` is a placeholder for an instance of `ai.djl.ndarray.NDArray`

docs/quick_start.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Quick start
22

33
Deep Java Library (DJL) is designed to be easy to get started with and simple to use.
4-
The easiest way to learn DJL is to read the [beginner tutorial](http://docs.djl.ai/docs/demos/jupyter/tutorial/README.md) or
4+
The easiest way to learn DJL is to read the [beginner tutorial](https://docs.djl.ai/master/docs/demos/jupyter/tutorial/README.md) or
55
our [examples](../examples/README.md).
66

77
You can also view our 1.5 hour long (in 8 x ~10 minute segments) DJL 101 tutorial video series:
@@ -20,7 +20,7 @@ You can start from here to run inference online and download starter template wi
2020

2121
## Beginner tutorial
2222

23-
To get started, we recommend that you follow our short [beginner tutorial](http://docs.djl.ai/docs/demos/jupyter/tutorial/index.html). It takes you through some of the basics of deep learning to create a model, train your model, and run inference using your trained model.
23+
To get started, we recommend that you follow our short [beginner tutorial](https://docs.djl.ai/master/docs/demos/jupyter/tutorial/index.html). It takes you through some of the basics of deep learning to create a model, train your model, and run inference using your trained model.
2424

2525
## Run examples
2626

@@ -31,7 +31,7 @@ All of our examples are executed by a simple command. For detailed command line
3131
- [Train your first model](../examples/docs/train_mnist_mlp.md)
3232
- [Single-shot Object Detection inference example](../examples/docs/object_detection.md)
3333
- [More examples](https://github.com/deepjavalibrary/djl/tree/master/examples)
34-
- [Jupyter examples](http://docs.djl.ai/docs/demos/jupyter/index.html)
34+
- [Jupyter examples](https://docs.djl.ai/master/docs/demos/jupyter/index.html)
3535

3636
## Other resources
3737

docs/tensorflow/how_to_import_tensorflow_models_in_DJL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ For more information on saving, loading and exporting checkpoints, please refer
116116

117117
## How to load DJL TensorFlow model zoo models
118118

119-
The steps are the same as loading any other DJL model zoo models, you can use the `Criteria` API as documented [here](https://docs.djl.ai/docs/load_model.html#criteria-class).
119+
The steps are the same as loading any other DJL model zoo models, you can use the `Criteria` API as documented [here](https://docs.djl.ai/master/docs/load_model.html#criteria-class).
120120

121121
Note for TensorFlow image classification models, you need to manually specify the translator instead of using the built-in one because
122122
TensorFlow requires channels last ("NHWC") image formats while DJL use channels first ("NCHW") image formats. By default, DJL will add

0 commit comments

Comments
 (0)