This folder contains jupyter notebooks that demonstrate how to use djl.ai API in real world examples.
JDK 9 (or above are required), the examples provided in this folder requires JDK 10+.
to confirm the java path is configured properly:
java --list-modules | grep "jdk.jshell"
> jdk.jshell@12.0.1
pip3 install jupyter
git clone https://github.com/SpencerPark/IJava.git
cd IJava/
chmod u+x gradlew
./gradlew installKernel
jupyter notebook
You may use Jupyter docker to have the same experience
docker build -t djl.ai .
docker run -p 8888:8888 -it djl.ai
You can open the http://localhost:8888
to see the hosted instance on docker.
Passed in the tokens provided in the docker message, and the docker is ready to go.