diff --git a/src/notebooks/predict.ipynb b/src/notebooks/predict.ipynb
new file mode 100644
index 0000000..f4ddd5b
--- /dev/null
+++ b/src/notebooks/predict.ipynb
@@ -0,0 +1,333 @@
+{
+ "cells": [
+ {
+ "cell_type": "code",
+ "execution_count": 52,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "import albumentations as A\n",
+ "import numpy as np\n",
+ "import onnx\n",
+ "import onnxruntime\n",
+ "from albumentations.pytorch import ToTensorV2\n",
+ "from PIL import Image\n",
+ "\n",
+ "%config InlineBackend.figure_formats = ['svg']\n",
+ "import matplotlib.pyplot as plt\n",
+ "%matplotlib inline\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 53,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "def sigmoid(x):\n",
+ " return 1 / (1 + np.exp(-x))\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 54,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "def to_numpy(tensor):\n",
+ " return tensor.detach().cpu().numpy() if tensor.requires_grad else tensor.cpu().numpy()\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 55,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "model_path = \"../../checkpoints/best.onnx\"\n",
+ "# image_path = \"../../images/SM.png\"\n",
+ "image_path = \"/home/lilian/data_disk/lfainsin/test/2022_SM/DOS_DETAIL/DSC_0050.jpg\"\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 56,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "onnx_model = onnx.load(model_path)\n",
+ "onnx.checker.check_model(onnx_model)\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 57,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "session = onnxruntime.InferenceSession(model_path)\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 58,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "(8256, 5504)\n"
+ ]
+ },
+ {
+ "data": {
+ "image/svg+xml": "\n\n\n",
+ "text/plain": [
+ "