From 21b360ed328cf0251ae213b71fd41b91fdd65653 Mon Sep 17 00:00:00 2001 From: Bal Narendra Sapa <61614290+balnarendrasapa@users.noreply.github.com> Date: Fri, 15 Dec 2023 15:55:52 -0500 Subject: [PATCH] Add new code --- .../final-submission/final_submission.ipynb | 1166 ++++++++++++++--- 1 file changed, 977 insertions(+), 189 deletions(-) diff --git a/submissions/final-submission/final_submission.ipynb b/submissions/final-submission/final_submission.ipynb index 078c679..3b71dd9 100644 --- a/submissions/final-submission/final_submission.ipynb +++ b/submissions/final-submission/final_submission.ipynb @@ -35,7 +35,7 @@ "base_uri": "https://localhost:8080/" }, "id": "dyznWPpKmNIs", - "outputId": "6a650029-6cad-469a-d424-3c9ef5ec0adf" + "outputId": "d17708d3-4a96-409d-fd59-805f9288f76c" }, "outputs": [ { @@ -43,12 +43,12 @@ "name": "stdout", "text": [ "Cloning into 'road-detection'...\n", - "remote: Enumerating objects: 627, done.\u001b[K\n", - "remote: Counting objects: 100% (368/368), done.\u001b[K\n", - "remote: Compressing objects: 100% (255/255), done.\u001b[K\n", - "remote: Total 627 (delta 135), reused 227 (delta 86), pack-reused 259\u001b[K\n", - "Receiving objects: 100% (627/627), 212.69 MiB | 15.14 MiB/s, done.\n", - "Resolving deltas: 100% (228/228), done.\n" + "remote: Enumerating objects: 632, done.\u001b[K\n", + "remote: Counting objects: 100% (373/373), done.\u001b[K\n", + "remote: Compressing objects: 100% (262/262), done.\u001b[K\n", + "remote: Total 632 (delta 140), reused 223 (delta 84), pack-reused 259\u001b[K\n", + "Receiving objects: 100% (632/632), 212.18 MiB | 15.95 MiB/s, done.\n", + "Resolving deltas: 100% (233/233), done.\n" ] } ], @@ -77,7 +77,7 @@ "height": 1000 }, "id": "298SpxZcDf1R", - "outputId": "7bb48d71-8e21-47b7-ba6e-42bab3bb8752" + "outputId": "4c9bf853-a7cd-4b42-95ac-2e496bdf0390" }, "outputs": [ { @@ -86,7 +86,7 @@ "text": [ "Collecting certifi==2023.7.22 (from -r road-detection/TwinLiteNet/requirements.txt (line 1))\n", " Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m158.3/158.3 kB\u001b[0m \u001b[31m906.0 kB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/158.3 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[90m╺\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m71.7/158.3 kB\u001b[0m \u001b[31m2.1 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m158.3/158.3 kB\u001b[0m \u001b[31m3.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: charset-normalizer==3.3.2 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 2)) (3.3.2)\n", "Collecting colorama==0.4.6 (from -r road-detection/TwinLiteNet/requirements.txt (line 3))\n", " Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)\n", @@ -94,42 +94,42 @@ "Requirement already satisfied: cycler==0.12.1 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 5)) (0.12.1)\n", "Collecting dnspython==2.4.2 (from -r road-detection/TwinLiteNet/requirements.txt (line 6))\n", " Downloading dnspython-2.4.2-py3-none-any.whl (300 kB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m300.4/300.4 kB\u001b[0m \u001b[31m5.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m300.4/300.4 kB\u001b[0m \u001b[31m11.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting elephant==0.12.0 (from -r road-detection/TwinLiteNet/requirements.txt (line 7))\n", " Downloading elephant-0.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m17.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m8.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: filelock==3.13.1 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 8)) (3.13.1)\n", "Collecting fonttools==4.44.0 (from -r road-detection/TwinLiteNet/requirements.txt (line 9))\n", " Downloading fonttools-4.44.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.5/4.5 MB\u001b[0m \u001b[31m48.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.5/4.5 MB\u001b[0m \u001b[31m38.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting fsspec==2023.10.0 (from -r road-detection/TwinLiteNet/requirements.txt (line 10))\n", " Downloading fsspec-2023.10.0-py3-none-any.whl (166 kB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m166.4/166.4 kB\u001b[0m \u001b[31m16.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m166.4/166.4 kB\u001b[0m \u001b[31m24.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting idna==3.4 (from -r road-detection/TwinLiteNet/requirements.txt (line 11))\n", " Downloading idna-3.4-py3-none-any.whl (61 kB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m61.5/61.5 kB\u001b[0m \u001b[31m5.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m61.5/61.5 kB\u001b[0m \u001b[31m9.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: Jinja2==3.1.2 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 12)) (3.1.2)\n", "Collecting joblib==1.2.0 (from -r road-detection/TwinLiteNet/requirements.txt (line 13))\n", " Downloading joblib-1.2.0-py3-none-any.whl (297 kB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m298.0/298.0 kB\u001b[0m \u001b[31m24.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m298.0/298.0 kB\u001b[0m \u001b[31m36.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: kiwisolver==1.4.5 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 14)) (1.4.5)\n", "Requirement already satisfied: MarkupSafe==2.1.3 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 15)) (2.1.3)\n", "Requirement already satisfied: matplotlib==3.7.1 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 16)) (3.7.1)\n", "Requirement already satisfied: mpmath==1.3.0 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 17)) (1.3.0)\n", "Collecting neo==0.12.0 (from -r road-detection/TwinLiteNet/requirements.txt (line 18))\n", " Downloading neo-0.12.0-py3-none-any.whl (586 kB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m586.9/586.9 kB\u001b[0m \u001b[31m36.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m586.9/586.9 kB\u001b[0m \u001b[31m37.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: networkx==3.2.1 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 19)) (3.2.1)\n", "Collecting numpy==1.24.3 (from -r road-detection/TwinLiteNet/requirements.txt (line 20))\n", " Downloading numpy-1.24.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m17.3/17.3 MB\u001b[0m \u001b[31m30.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m17.3/17.3 MB\u001b[0m \u001b[31m37.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting opencv-python==4.7.0.72 (from -r road-detection/TwinLiteNet/requirements.txt (line 21))\n", " Downloading opencv_python-4.7.0.72-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (61.8 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m61.8/61.8 MB\u001b[0m \u001b[31m8.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: packaging==23.2 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 22)) (23.2)\n", "Collecting Pillow==9.5.0 (from -r road-detection/TwinLiteNet/requirements.txt (line 23))\n", " Downloading Pillow-9.5.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.4 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.4/3.4 MB\u001b[0m \u001b[31m56.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.4/3.4 MB\u001b[0m \u001b[31m55.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: pyparsing==3.1.1 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 24)) (3.1.1)\n", "Requirement already satisfied: python-dateutil==2.8.2 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 25)) (2.8.2)\n", "Collecting python-etcd==0.4.5 (from -r road-detection/TwinLiteNet/requirements.txt (line 26))\n", @@ -138,14 +138,14 @@ "Requirement already satisfied: PyYAML==6.0.1 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 27)) (6.0.1)\n", "Collecting quantities==0.14.1 (from -r road-detection/TwinLiteNet/requirements.txt (line 28))\n", " Downloading quantities-0.14.1-py3-none-any.whl (87 kB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m87.9/87.9 kB\u001b[0m \u001b[31m12.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m87.9/87.9 kB\u001b[0m \u001b[31m12.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: requests==2.31.0 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 29)) (2.31.0)\n", "Collecting scikit-learn==1.3.2 (from -r road-detection/TwinLiteNet/requirements.txt (line 30))\n", " Downloading scikit_learn-1.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.8 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m10.8/10.8 MB\u001b[0m \u001b[31m48.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m10.8/10.8 MB\u001b[0m \u001b[31m95.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting scipy==1.10.1 (from -r road-detection/TwinLiteNet/requirements.txt (line 31))\n", " Downloading scipy-1.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.4 MB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m34.4/34.4 MB\u001b[0m \u001b[31m13.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m34.4/34.4 MB\u001b[0m \u001b[31m17.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: six==1.16.0 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 32)) (1.16.0)\n", "Requirement already satisfied: sympy==1.12 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 33)) (1.12)\n", "Requirement already satisfied: threadpoolctl==3.2.0 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 34)) (3.2.0)\n", @@ -153,7 +153,7 @@ "Requirement already satisfied: torchdata==0.7.0 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 36)) (0.7.0)\n", "Collecting torchelastic==0.2.2 (from -r road-detection/TwinLiteNet/requirements.txt (line 37))\n", " Downloading torchelastic-0.2.2-py3-none-any.whl (111 kB)\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m111.5/111.5 kB\u001b[0m \u001b[31m16.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m111.5/111.5 kB\u001b[0m \u001b[31m14.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: torchtext==0.16.0 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 38)) (0.16.0)\n", "Requirement already satisfied: torchvision==0.16.0 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 39)) (0.16.0+cu121)\n", "Requirement already satisfied: tqdm==4.66.1 in /usr/local/lib/python3.10/dist-packages (from -r road-detection/TwinLiteNet/requirements.txt (line 40)) (4.66.1)\n", @@ -168,7 +168,7 @@ "Requirement already satisfied: triton==2.1.0 in /usr/local/lib/python3.10/dist-packages (from torch==2.1.0->-r road-detection/TwinLiteNet/requirements.txt (line 35)) (2.1.0)\n", "Building wheels for collected packages: python-etcd\n", " Building wheel for python-etcd (setup.py) ... \u001b[?25l\u001b[?25hdone\n", - " Created wheel for python-etcd: filename=python_etcd-0.4.5-py3-none-any.whl size=38481 sha256=600ae4ea8608bc3c5d52d07eff40e9f1316b8e2d793a0623af439aaca7941e24\n", + " Created wheel for python-etcd: filename=python_etcd-0.4.5-py3-none-any.whl size=38481 sha256=4b72c1f1faa05dee1f634adb3b34fda41f49c617a915022b2bf7f907cc899689\n", " Stored in directory: /root/.cache/pip/wheels/93/5f/1b/056db07a0ab1c0b7efe175928d2a10b614e0e00d7bab0b6496\n", "Successfully built python-etcd\n", "Installing collected packages: zipp, yacs, typing_extensions, Pillow, numpy, joblib, idna, fsspec, fonttools, dnspython, colorama, certifi, scipy, quantities, python-etcd, opencv-python, torchelastic, scikit-learn, neo, elephant\n", @@ -287,10 +287,634 @@ "!unzip dataset.zip" ], "metadata": { - "id": "w7AUZJZ0f491" + "id": "w7AUZJZ0f491", + "outputId": "a7a55a20-a73e-4763-aff2-bd5dcb8a2829", + "colab": { + "base_uri": "https://localhost:8080/" + } }, - "execution_count": null, - "outputs": [] + "execution_count": 2, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Archive: dataset.zip\n", + " creating: dataset/test/\n", + " creating: dataset/test/images/\n", + " inflating: dataset/test/images/road_image_160.png \n", + " inflating: dataset/test/images/road_image_161.png \n", + " inflating: dataset/test/images/road_image_162.png \n", + " inflating: dataset/test/images/road_image_163.png \n", + " inflating: dataset/test/images/road_image_164.png \n", + " inflating: dataset/test/images/road_image_165.png \n", + " inflating: dataset/test/images/road_image_166.png \n", + " inflating: dataset/test/images/road_image_167.png \n", + " inflating: dataset/test/images/road_image_168.png \n", + " inflating: dataset/test/images/road_image_169.png \n", + " inflating: dataset/test/images/road_image_170.png \n", + " inflating: dataset/test/images/road_image_171.png \n", + " inflating: dataset/test/images/road_image_172.png \n", + " inflating: dataset/test/images/road_image_173.png \n", + " inflating: dataset/test/images/road_image_174.png \n", + " inflating: dataset/test/images/road_image_175.png \n", + " inflating: dataset/test/images/road_image_176.png \n", + " inflating: dataset/test/images/road_image_177.png \n", + " inflating: dataset/test/images/road_image_178.png \n", + " inflating: dataset/test/images/road_image_179.png \n", + " creating: dataset/test/lane/\n", + " inflating: dataset/test/lane/road_image_160.png \n", + " inflating: dataset/test/lane/road_image_161.png \n", + " inflating: dataset/test/lane/road_image_162.png \n", + " inflating: dataset/test/lane/road_image_163.png \n", + " inflating: dataset/test/lane/road_image_164.png \n", + " inflating: dataset/test/lane/road_image_165.png \n", + " inflating: dataset/test/lane/road_image_166.png \n", + " inflating: dataset/test/lane/road_image_167.png \n", + " inflating: dataset/test/lane/road_image_168.png \n", + " inflating: dataset/test/lane/road_image_169.png \n", + " inflating: dataset/test/lane/road_image_170.png \n", + " inflating: dataset/test/lane/road_image_171.png \n", + " inflating: dataset/test/lane/road_image_172.png \n", + " inflating: dataset/test/lane/road_image_173.png \n", + " inflating: dataset/test/lane/road_image_174.png \n", + " inflating: dataset/test/lane/road_image_175.png \n", + " inflating: dataset/test/lane/road_image_176.png \n", + " inflating: dataset/test/lane/road_image_177.png \n", + " inflating: dataset/test/lane/road_image_178.png \n", + " inflating: dataset/test/lane/road_image_179.png \n", + " creating: dataset/test/segments/\n", + " inflating: dataset/test/segments/road_image_160.png \n", + " inflating: dataset/test/segments/road_image_161.png \n", + " inflating: dataset/test/segments/road_image_162.png \n", + " inflating: dataset/test/segments/road_image_163.png \n", + " inflating: dataset/test/segments/road_image_164.png \n", + " inflating: dataset/test/segments/road_image_165.png \n", + " inflating: dataset/test/segments/road_image_166.png \n", + " inflating: dataset/test/segments/road_image_167.png \n", + " inflating: dataset/test/segments/road_image_168.png \n", + " inflating: dataset/test/segments/road_image_169.png \n", + " inflating: dataset/test/segments/road_image_170.png \n", + " inflating: dataset/test/segments/road_image_171.png \n", + " inflating: dataset/test/segments/road_image_172.png \n", + " inflating: dataset/test/segments/road_image_173.png \n", + " inflating: dataset/test/segments/road_image_174.png \n", + " inflating: dataset/test/segments/road_image_175.png \n", + " inflating: dataset/test/segments/road_image_176.png \n", + " inflating: dataset/test/segments/road_image_177.png \n", + " inflating: dataset/test/segments/road_image_178.png \n", + " inflating: dataset/test/segments/road_image_179.png \n", + " creating: dataset/train/\n", + " creating: dataset/train/images/\n", + " inflating: dataset/train/images/road_image_0.png \n", + " inflating: dataset/train/images/road_image_1.png \n", + " inflating: dataset/train/images/road_image_10.png \n", + " inflating: dataset/train/images/road_image_100.png \n", + " inflating: dataset/train/images/road_image_101.png \n", + " inflating: dataset/train/images/road_image_102.png \n", + " inflating: dataset/train/images/road_image_103.png \n", + " inflating: dataset/train/images/road_image_104.png \n", + " inflating: dataset/train/images/road_image_105.png \n", + " inflating: dataset/train/images/road_image_106.png \n", + " inflating: dataset/train/images/road_image_107.png \n", + " inflating: dataset/train/images/road_image_108.png \n", + " inflating: dataset/train/images/road_image_109.png \n", + " inflating: dataset/train/images/road_image_11.png \n", + " inflating: dataset/train/images/road_image_110.png \n", + " inflating: dataset/train/images/road_image_111.png \n", + " inflating: dataset/train/images/road_image_112.png \n", + " inflating: dataset/train/images/road_image_113.png \n", + " inflating: dataset/train/images/road_image_114.png \n", + " inflating: dataset/train/images/road_image_115.png \n", + " inflating: dataset/train/images/road_image_116.png \n", + " inflating: dataset/train/images/road_image_117.png \n", + " inflating: dataset/train/images/road_image_118.png \n", + " inflating: dataset/train/images/road_image_119.png \n", + " inflating: dataset/train/images/road_image_12.png \n", + " inflating: dataset/train/images/road_image_120.png \n", + " inflating: dataset/train/images/road_image_121.png \n", + " inflating: dataset/train/images/road_image_122.png \n", + " inflating: dataset/train/images/road_image_123.png \n", + " inflating: dataset/train/images/road_image_124.png \n", + " inflating: dataset/train/images/road_image_125.png \n", + " inflating: dataset/train/images/road_image_126.png \n", + " inflating: dataset/train/images/road_image_127.png \n", + " inflating: dataset/train/images/road_image_128.png \n", + " inflating: dataset/train/images/road_image_129.png \n", + " inflating: dataset/train/images/road_image_13.png \n", + " inflating: dataset/train/images/road_image_130.png \n", + " inflating: dataset/train/images/road_image_131.png \n", + " inflating: dataset/train/images/road_image_132.png \n", + " inflating: dataset/train/images/road_image_133.png \n", + " inflating: dataset/train/images/road_image_134.png \n", + " inflating: dataset/train/images/road_image_135.png \n", + " inflating: dataset/train/images/road_image_136.png \n", + " inflating: dataset/train/images/road_image_137.png \n", + " inflating: dataset/train/images/road_image_138.png \n", + " inflating: dataset/train/images/road_image_139.png \n", + " inflating: dataset/train/images/road_image_14.png \n", + " inflating: dataset/train/images/road_image_140.png \n", + " inflating: dataset/train/images/road_image_141.png \n", + " inflating: dataset/train/images/road_image_142.png \n", + " inflating: dataset/train/images/road_image_143.png \n", + " inflating: dataset/train/images/road_image_144.png \n", + " inflating: dataset/train/images/road_image_145.png \n", + " inflating: dataset/train/images/road_image_146.png \n", + " inflating: dataset/train/images/road_image_147.png \n", + " inflating: dataset/train/images/road_image_148.png \n", + " inflating: dataset/train/images/road_image_149.png \n", + " inflating: dataset/train/images/road_image_15.png \n", + " inflating: dataset/train/images/road_image_150.png \n", + " inflating: dataset/train/images/road_image_151.png \n", + " inflating: dataset/train/images/road_image_152.png \n", + " inflating: dataset/train/images/road_image_153.png \n", + " inflating: dataset/train/images/road_image_154.png \n", + " inflating: dataset/train/images/road_image_155.png \n", + " inflating: dataset/train/images/road_image_156.png \n", + " inflating: dataset/train/images/road_image_157.png \n", + " inflating: dataset/train/images/road_image_158.png \n", + " inflating: dataset/train/images/road_image_159.png \n", + " inflating: dataset/train/images/road_image_16.png \n", + " inflating: dataset/train/images/road_image_17.png \n", + " inflating: dataset/train/images/road_image_18.png \n", + " inflating: dataset/train/images/road_image_19.png \n", + " inflating: dataset/train/images/road_image_2.png \n", + " inflating: dataset/train/images/road_image_20.png \n", + " inflating: dataset/train/images/road_image_21.png \n", + " inflating: dataset/train/images/road_image_22.png \n", + " inflating: dataset/train/images/road_image_23.png \n", + " inflating: dataset/train/images/road_image_24.png \n", + " inflating: dataset/train/images/road_image_25.png \n", + " inflating: dataset/train/images/road_image_26.png \n", + " inflating: dataset/train/images/road_image_27.png \n", + " inflating: dataset/train/images/road_image_28.png \n", + " inflating: dataset/train/images/road_image_29.png \n", + " inflating: dataset/train/images/road_image_3.png \n", + " inflating: dataset/train/images/road_image_30.png \n", + " inflating: dataset/train/images/road_image_31.png \n", + " inflating: dataset/train/images/road_image_32.png \n", + " inflating: dataset/train/images/road_image_33.png \n", + " inflating: dataset/train/images/road_image_34.png \n", + " inflating: dataset/train/images/road_image_35.png \n", + " inflating: dataset/train/images/road_image_36.png \n", + " inflating: dataset/train/images/road_image_37.png \n", + " inflating: dataset/train/images/road_image_38.png \n", + " inflating: dataset/train/images/road_image_39.png \n", + " inflating: dataset/train/images/road_image_4.png \n", + " inflating: dataset/train/images/road_image_40.png \n", + " inflating: dataset/train/images/road_image_41.png \n", + " inflating: dataset/train/images/road_image_42.png \n", + " inflating: dataset/train/images/road_image_43.png \n", + " inflating: dataset/train/images/road_image_44.png \n", + " inflating: dataset/train/images/road_image_45.png \n", + " inflating: dataset/train/images/road_image_46.png \n", + " inflating: dataset/train/images/road_image_47.png \n", + " inflating: dataset/train/images/road_image_48.png \n", + " inflating: dataset/train/images/road_image_49.png \n", + " inflating: dataset/train/images/road_image_5.png \n", + " inflating: dataset/train/images/road_image_50.png \n", + " inflating: dataset/train/images/road_image_51.png \n", + " inflating: dataset/train/images/road_image_52.png \n", + " inflating: dataset/train/images/road_image_53.png \n", + " inflating: dataset/train/images/road_image_54.png \n", + " inflating: dataset/train/images/road_image_55.png \n", + " inflating: dataset/train/images/road_image_56.png \n", + " inflating: dataset/train/images/road_image_57.png \n", + " inflating: dataset/train/images/road_image_58.png \n", + " inflating: dataset/train/images/road_image_59.png \n", + " inflating: dataset/train/images/road_image_6.png \n", + " inflating: dataset/train/images/road_image_60.png \n", + " inflating: dataset/train/images/road_image_61.png \n", + " inflating: dataset/train/images/road_image_62.png \n", + " inflating: dataset/train/images/road_image_63.png \n", + " inflating: dataset/train/images/road_image_64.png \n", + " inflating: dataset/train/images/road_image_65.png \n", + " inflating: dataset/train/images/road_image_66.png \n", + " inflating: dataset/train/images/road_image_67.png \n", + " inflating: dataset/train/images/road_image_68.png \n", + " inflating: dataset/train/images/road_image_69.png \n", + " inflating: dataset/train/images/road_image_7.png \n", + " inflating: dataset/train/images/road_image_70.png \n", + " inflating: dataset/train/images/road_image_71.png \n", + " inflating: dataset/train/images/road_image_72.png \n", + " inflating: dataset/train/images/road_image_73.png \n", + " inflating: dataset/train/images/road_image_74.png \n", + " inflating: dataset/train/images/road_image_75.png \n", + " inflating: dataset/train/images/road_image_76.png \n", + " inflating: dataset/train/images/road_image_77.png \n", + " inflating: dataset/train/images/road_image_78.png \n", + " inflating: dataset/train/images/road_image_79.png \n", + " inflating: dataset/train/images/road_image_8.png \n", + " inflating: dataset/train/images/road_image_80.png \n", + " inflating: dataset/train/images/road_image_81.png \n", + " inflating: dataset/train/images/road_image_82.png \n", + " inflating: dataset/train/images/road_image_83.png \n", + " inflating: dataset/train/images/road_image_84.png \n", + " inflating: dataset/train/images/road_image_85.png \n", + " inflating: dataset/train/images/road_image_86.png \n", + " inflating: dataset/train/images/road_image_87.png \n", + " inflating: dataset/train/images/road_image_88.png \n", + " inflating: dataset/train/images/road_image_89.png \n", + " inflating: dataset/train/images/road_image_9.png \n", + " inflating: dataset/train/images/road_image_90.png \n", + " inflating: dataset/train/images/road_image_91.png \n", + " inflating: dataset/train/images/road_image_92.png \n", + " inflating: dataset/train/images/road_image_93.png \n", + " inflating: dataset/train/images/road_image_94.png \n", + " inflating: dataset/train/images/road_image_95.png \n", + " inflating: dataset/train/images/road_image_96.png \n", + " inflating: dataset/train/images/road_image_97.png \n", + " inflating: dataset/train/images/road_image_98.png \n", + " inflating: dataset/train/images/road_image_99.png \n", + " creating: dataset/train/lane/\n", + " inflating: dataset/train/lane/road_image_0.png \n", + " inflating: dataset/train/lane/road_image_1.png \n", + " inflating: dataset/train/lane/road_image_10.png \n", + " inflating: dataset/train/lane/road_image_100.png \n", + " inflating: dataset/train/lane/road_image_101.png \n", + " inflating: dataset/train/lane/road_image_102.png \n", + " inflating: dataset/train/lane/road_image_103.png \n", + " inflating: dataset/train/lane/road_image_104.png \n", + " inflating: dataset/train/lane/road_image_105.png \n", + " inflating: dataset/train/lane/road_image_106.png \n", + " inflating: dataset/train/lane/road_image_107.png \n", + " inflating: dataset/train/lane/road_image_108.png \n", + " inflating: dataset/train/lane/road_image_109.png \n", + " inflating: dataset/train/lane/road_image_11.png \n", + " inflating: dataset/train/lane/road_image_110.png \n", + " inflating: dataset/train/lane/road_image_111.png \n", + " inflating: dataset/train/lane/road_image_112.png \n", + " inflating: dataset/train/lane/road_image_113.png \n", + " inflating: dataset/train/lane/road_image_114.png \n", + " inflating: dataset/train/lane/road_image_115.png \n", + " inflating: dataset/train/lane/road_image_116.png \n", + " inflating: dataset/train/lane/road_image_117.png \n", + " inflating: dataset/train/lane/road_image_118.png \n", + " inflating: dataset/train/lane/road_image_119.png \n", + " inflating: dataset/train/lane/road_image_12.png \n", + " inflating: dataset/train/lane/road_image_120.png \n", + " inflating: dataset/train/lane/road_image_121.png \n", + " inflating: dataset/train/lane/road_image_122.png \n", + " inflating: dataset/train/lane/road_image_123.png \n", + " inflating: dataset/train/lane/road_image_124.png \n", + " inflating: dataset/train/lane/road_image_125.png \n", + " inflating: dataset/train/lane/road_image_126.png \n", + " inflating: dataset/train/lane/road_image_127.png \n", + " inflating: dataset/train/lane/road_image_128.png \n", + " inflating: dataset/train/lane/road_image_129.png \n", + " inflating: dataset/train/lane/road_image_13.png \n", + " inflating: dataset/train/lane/road_image_130.png \n", + " inflating: dataset/train/lane/road_image_131.png \n", + " inflating: dataset/train/lane/road_image_132.png \n", + " inflating: dataset/train/lane/road_image_133.png \n", + " inflating: dataset/train/lane/road_image_134.png \n", + " inflating: dataset/train/lane/road_image_135.png \n", + " inflating: dataset/train/lane/road_image_136.png \n", + " inflating: dataset/train/lane/road_image_137.png \n", + " inflating: dataset/train/lane/road_image_138.png \n", + " inflating: dataset/train/lane/road_image_139.png \n", + " inflating: dataset/train/lane/road_image_14.png \n", + " inflating: dataset/train/lane/road_image_140.png \n", + " inflating: dataset/train/lane/road_image_141.png \n", + " inflating: dataset/train/lane/road_image_142.png \n", + " inflating: dataset/train/lane/road_image_143.png \n", + " inflating: dataset/train/lane/road_image_144.png \n", + " inflating: dataset/train/lane/road_image_145.png \n", + " inflating: dataset/train/lane/road_image_146.png \n", + " inflating: dataset/train/lane/road_image_147.png \n", + " inflating: dataset/train/lane/road_image_148.png \n", + " inflating: dataset/train/lane/road_image_149.png \n", + " inflating: dataset/train/lane/road_image_15.png \n", + " inflating: dataset/train/lane/road_image_150.png \n", + " inflating: dataset/train/lane/road_image_151.png \n", + " inflating: dataset/train/lane/road_image_152.png \n", + " inflating: dataset/train/lane/road_image_153.png \n", + " inflating: dataset/train/lane/road_image_154.png \n", + " inflating: dataset/train/lane/road_image_155.png \n", + " inflating: dataset/train/lane/road_image_156.png \n", + " inflating: dataset/train/lane/road_image_157.png \n", + " inflating: dataset/train/lane/road_image_158.png \n", + " inflating: dataset/train/lane/road_image_159.png \n", + " inflating: dataset/train/lane/road_image_16.png \n", + " inflating: dataset/train/lane/road_image_17.png \n", + " inflating: dataset/train/lane/road_image_18.png \n", + " inflating: dataset/train/lane/road_image_19.png \n", + " inflating: dataset/train/lane/road_image_2.png \n", + " inflating: dataset/train/lane/road_image_20.png \n", + " inflating: dataset/train/lane/road_image_21.png \n", + " inflating: dataset/train/lane/road_image_22.png \n", + " inflating: dataset/train/lane/road_image_23.png \n", + " inflating: dataset/train/lane/road_image_24.png \n", + " inflating: dataset/train/lane/road_image_25.png \n", + " inflating: dataset/train/lane/road_image_26.png \n", + " inflating: dataset/train/lane/road_image_27.png \n", + " inflating: dataset/train/lane/road_image_28.png \n", + " inflating: dataset/train/lane/road_image_29.png \n", + " inflating: dataset/train/lane/road_image_3.png \n", + " inflating: dataset/train/lane/road_image_30.png \n", + " inflating: dataset/train/lane/road_image_31.png \n", + " inflating: dataset/train/lane/road_image_32.png \n", + " inflating: dataset/train/lane/road_image_33.png \n", + " inflating: dataset/train/lane/road_image_34.png \n", + " inflating: dataset/train/lane/road_image_35.png \n", + " inflating: dataset/train/lane/road_image_36.png \n", + " inflating: dataset/train/lane/road_image_37.png \n", + " inflating: dataset/train/lane/road_image_38.png \n", + " inflating: dataset/train/lane/road_image_39.png \n", + " inflating: dataset/train/lane/road_image_4.png \n", + " inflating: dataset/train/lane/road_image_40.png \n", + " inflating: dataset/train/lane/road_image_41.png \n", + " inflating: dataset/train/lane/road_image_42.png \n", + " inflating: dataset/train/lane/road_image_43.png \n", + " inflating: dataset/train/lane/road_image_44.png \n", + " inflating: dataset/train/lane/road_image_45.png \n", + " inflating: dataset/train/lane/road_image_46.png \n", + " inflating: dataset/train/lane/road_image_47.png \n", + " inflating: dataset/train/lane/road_image_48.png \n", + " inflating: dataset/train/lane/road_image_49.png \n", + " inflating: dataset/train/lane/road_image_5.png \n", + " inflating: dataset/train/lane/road_image_50.png \n", + " inflating: dataset/train/lane/road_image_51.png \n", + " inflating: dataset/train/lane/road_image_52.png \n", + " inflating: dataset/train/lane/road_image_53.png \n", + " inflating: dataset/train/lane/road_image_54.png \n", + " inflating: dataset/train/lane/road_image_55.png \n", + " inflating: dataset/train/lane/road_image_56.png \n", + " inflating: dataset/train/lane/road_image_57.png \n", + " inflating: dataset/train/lane/road_image_58.png \n", + " inflating: dataset/train/lane/road_image_59.png \n", + " inflating: dataset/train/lane/road_image_6.png \n", + " inflating: dataset/train/lane/road_image_60.png \n", + " inflating: dataset/train/lane/road_image_61.png \n", + " inflating: dataset/train/lane/road_image_62.png \n", + " inflating: dataset/train/lane/road_image_63.png \n", + " inflating: dataset/train/lane/road_image_64.png \n", + " inflating: dataset/train/lane/road_image_65.png \n", + " inflating: dataset/train/lane/road_image_66.png \n", + " inflating: dataset/train/lane/road_image_67.png \n", + " inflating: dataset/train/lane/road_image_68.png \n", + " inflating: dataset/train/lane/road_image_69.png \n", + " inflating: dataset/train/lane/road_image_7.png \n", + " inflating: dataset/train/lane/road_image_70.png \n", + " inflating: dataset/train/lane/road_image_71.png \n", + " inflating: dataset/train/lane/road_image_72.png \n", + " inflating: dataset/train/lane/road_image_73.png \n", + " inflating: dataset/train/lane/road_image_74.png \n", + " inflating: dataset/train/lane/road_image_75.png \n", + " inflating: dataset/train/lane/road_image_76.png \n", + " inflating: dataset/train/lane/road_image_77.png \n", + " inflating: dataset/train/lane/road_image_78.png \n", + " inflating: dataset/train/lane/road_image_79.png \n", + " inflating: dataset/train/lane/road_image_8.png \n", + " inflating: dataset/train/lane/road_image_80.png \n", + " inflating: dataset/train/lane/road_image_81.png \n", + " inflating: dataset/train/lane/road_image_82.png \n", + " inflating: dataset/train/lane/road_image_83.png \n", + " inflating: dataset/train/lane/road_image_84.png \n", + " inflating: dataset/train/lane/road_image_85.png \n", + " inflating: dataset/train/lane/road_image_86.png \n", + " inflating: dataset/train/lane/road_image_87.png \n", + " inflating: dataset/train/lane/road_image_88.png \n", + " inflating: dataset/train/lane/road_image_89.png \n", + " inflating: dataset/train/lane/road_image_9.png \n", + " inflating: dataset/train/lane/road_image_90.png \n", + " inflating: dataset/train/lane/road_image_91.png \n", + " inflating: dataset/train/lane/road_image_92.png \n", + " inflating: dataset/train/lane/road_image_93.png \n", + " inflating: dataset/train/lane/road_image_94.png \n", + " inflating: dataset/train/lane/road_image_95.png \n", + " inflating: dataset/train/lane/road_image_96.png \n", + " inflating: dataset/train/lane/road_image_97.png \n", + " inflating: dataset/train/lane/road_image_98.png \n", + " inflating: dataset/train/lane/road_image_99.png \n", + " creating: dataset/train/segments/\n", + " inflating: dataset/train/segments/road_image_0.png \n", + " inflating: dataset/train/segments/road_image_1.png \n", + " inflating: dataset/train/segments/road_image_10.png \n", + " inflating: dataset/train/segments/road_image_100.png \n", + " inflating: dataset/train/segments/road_image_101.png \n", + " inflating: dataset/train/segments/road_image_102.png \n", + " inflating: dataset/train/segments/road_image_103.png \n", + " inflating: dataset/train/segments/road_image_104.png \n", + " inflating: dataset/train/segments/road_image_105.png \n", + " inflating: dataset/train/segments/road_image_106.png \n", + " inflating: dataset/train/segments/road_image_107.png \n", + " inflating: dataset/train/segments/road_image_108.png \n", + " inflating: dataset/train/segments/road_image_109.png \n", + " inflating: dataset/train/segments/road_image_11.png \n", + " inflating: dataset/train/segments/road_image_110.png \n", + " inflating: dataset/train/segments/road_image_111.png \n", + " inflating: dataset/train/segments/road_image_112.png \n", + " inflating: dataset/train/segments/road_image_113.png \n", + " inflating: dataset/train/segments/road_image_114.png \n", + " inflating: dataset/train/segments/road_image_115.png \n", + " inflating: dataset/train/segments/road_image_116.png \n", + " inflating: dataset/train/segments/road_image_117.png \n", + " inflating: dataset/train/segments/road_image_118.png \n", + " inflating: dataset/train/segments/road_image_119.png \n", + " inflating: dataset/train/segments/road_image_12.png \n", + " inflating: dataset/train/segments/road_image_120.png \n", + " inflating: dataset/train/segments/road_image_121.png \n", + " inflating: dataset/train/segments/road_image_122.png \n", + " inflating: dataset/train/segments/road_image_123.png \n", + " inflating: dataset/train/segments/road_image_124.png \n", + " inflating: dataset/train/segments/road_image_125.png \n", + " inflating: dataset/train/segments/road_image_126.png \n", + " inflating: dataset/train/segments/road_image_127.png \n", + " inflating: dataset/train/segments/road_image_128.png \n", + " inflating: dataset/train/segments/road_image_129.png \n", + " inflating: dataset/train/segments/road_image_13.png \n", + " inflating: dataset/train/segments/road_image_130.png \n", + " inflating: dataset/train/segments/road_image_131.png \n", + " inflating: dataset/train/segments/road_image_132.png \n", + " inflating: dataset/train/segments/road_image_133.png \n", + " inflating: dataset/train/segments/road_image_134.png \n", + " inflating: dataset/train/segments/road_image_135.png \n", + " inflating: dataset/train/segments/road_image_136.png \n", + " inflating: dataset/train/segments/road_image_137.png \n", + " inflating: dataset/train/segments/road_image_138.png \n", + " inflating: dataset/train/segments/road_image_139.png \n", + " inflating: dataset/train/segments/road_image_14.png \n", + " inflating: dataset/train/segments/road_image_140.png \n", + " inflating: dataset/train/segments/road_image_141.png \n", + " inflating: dataset/train/segments/road_image_142.png \n", + " inflating: dataset/train/segments/road_image_143.png \n", + " inflating: dataset/train/segments/road_image_144.png \n", + " inflating: dataset/train/segments/road_image_145.png \n", + " inflating: dataset/train/segments/road_image_146.png \n", + " inflating: dataset/train/segments/road_image_147.png \n", + " inflating: dataset/train/segments/road_image_148.png \n", + " inflating: dataset/train/segments/road_image_149.png \n", + " inflating: dataset/train/segments/road_image_15.png \n", + " inflating: dataset/train/segments/road_image_150.png \n", + " inflating: dataset/train/segments/road_image_151.png \n", + " inflating: dataset/train/segments/road_image_152.png \n", + " inflating: dataset/train/segments/road_image_153.png \n", + " inflating: dataset/train/segments/road_image_154.png \n", + " inflating: dataset/train/segments/road_image_155.png \n", + " inflating: dataset/train/segments/road_image_156.png \n", + " inflating: dataset/train/segments/road_image_157.png \n", + " inflating: dataset/train/segments/road_image_158.png \n", + " inflating: dataset/train/segments/road_image_159.png \n", + " inflating: dataset/train/segments/road_image_16.png \n", + " inflating: dataset/train/segments/road_image_17.png \n", + " inflating: dataset/train/segments/road_image_18.png \n", + " inflating: dataset/train/segments/road_image_19.png \n", + " inflating: dataset/train/segments/road_image_2.png \n", + " inflating: dataset/train/segments/road_image_20.png \n", + " inflating: dataset/train/segments/road_image_21.png \n", + " inflating: dataset/train/segments/road_image_22.png \n", + " inflating: dataset/train/segments/road_image_23.png \n", + " inflating: dataset/train/segments/road_image_24.png \n", + " inflating: dataset/train/segments/road_image_25.png \n", + " inflating: dataset/train/segments/road_image_26.png \n", + " inflating: dataset/train/segments/road_image_27.png \n", + " inflating: dataset/train/segments/road_image_28.png \n", + " inflating: dataset/train/segments/road_image_29.png \n", + " inflating: dataset/train/segments/road_image_3.png \n", + " inflating: dataset/train/segments/road_image_30.png \n", + " inflating: dataset/train/segments/road_image_31.png \n", + " inflating: dataset/train/segments/road_image_32.png \n", + " inflating: dataset/train/segments/road_image_33.png \n", + " inflating: dataset/train/segments/road_image_34.png \n", + " inflating: dataset/train/segments/road_image_35.png \n", + " inflating: dataset/train/segments/road_image_36.png \n", + " inflating: dataset/train/segments/road_image_37.png \n", + " inflating: dataset/train/segments/road_image_38.png \n", + " inflating: dataset/train/segments/road_image_39.png \n", + " inflating: dataset/train/segments/road_image_4.png \n", + " inflating: dataset/train/segments/road_image_40.png \n", + " inflating: dataset/train/segments/road_image_41.png \n", + " inflating: dataset/train/segments/road_image_42.png \n", + " inflating: dataset/train/segments/road_image_43.png \n", + " inflating: dataset/train/segments/road_image_44.png \n", + " inflating: dataset/train/segments/road_image_45.png \n", + " inflating: dataset/train/segments/road_image_46.png \n", + " inflating: dataset/train/segments/road_image_47.png \n", + " inflating: dataset/train/segments/road_image_48.png \n", + " inflating: dataset/train/segments/road_image_49.png \n", + " inflating: dataset/train/segments/road_image_5.png \n", + " inflating: dataset/train/segments/road_image_50.png \n", + " inflating: dataset/train/segments/road_image_51.png \n", + " inflating: dataset/train/segments/road_image_52.png \n", + " inflating: dataset/train/segments/road_image_53.png \n", + " inflating: dataset/train/segments/road_image_54.png \n", + " inflating: dataset/train/segments/road_image_55.png \n", + " inflating: dataset/train/segments/road_image_56.png \n", + " inflating: dataset/train/segments/road_image_57.png \n", + " inflating: dataset/train/segments/road_image_58.png \n", + " inflating: dataset/train/segments/road_image_59.png \n", + " inflating: dataset/train/segments/road_image_6.png \n", + " inflating: dataset/train/segments/road_image_60.png \n", + " inflating: dataset/train/segments/road_image_61.png \n", + " inflating: dataset/train/segments/road_image_62.png \n", + " inflating: dataset/train/segments/road_image_63.png \n", + " inflating: dataset/train/segments/road_image_64.png \n", + " inflating: dataset/train/segments/road_image_65.png \n", + " inflating: dataset/train/segments/road_image_66.png \n", + " inflating: dataset/train/segments/road_image_67.png \n", + " inflating: dataset/train/segments/road_image_68.png \n", + " inflating: dataset/train/segments/road_image_69.png \n", + " inflating: dataset/train/segments/road_image_7.png \n", + " inflating: dataset/train/segments/road_image_70.png \n", + " inflating: dataset/train/segments/road_image_71.png \n", + " inflating: dataset/train/segments/road_image_72.png \n", + " inflating: dataset/train/segments/road_image_73.png \n", + " inflating: dataset/train/segments/road_image_74.png \n", + " inflating: dataset/train/segments/road_image_75.png \n", + " inflating: dataset/train/segments/road_image_76.png \n", + " inflating: dataset/train/segments/road_image_77.png \n", + " inflating: dataset/train/segments/road_image_78.png \n", + " inflating: dataset/train/segments/road_image_79.png \n", + " inflating: dataset/train/segments/road_image_8.png \n", + " inflating: dataset/train/segments/road_image_80.png \n", + " inflating: dataset/train/segments/road_image_81.png \n", + " inflating: dataset/train/segments/road_image_82.png \n", + " inflating: dataset/train/segments/road_image_83.png \n", + " inflating: dataset/train/segments/road_image_84.png \n", + " inflating: dataset/train/segments/road_image_85.png \n", + " inflating: dataset/train/segments/road_image_86.png \n", + " inflating: dataset/train/segments/road_image_87.png \n", + " inflating: dataset/train/segments/road_image_88.png \n", + " inflating: dataset/train/segments/road_image_89.png \n", + " inflating: dataset/train/segments/road_image_9.png \n", + " inflating: dataset/train/segments/road_image_90.png \n", + " inflating: dataset/train/segments/road_image_91.png \n", + " inflating: dataset/train/segments/road_image_92.png \n", + " inflating: dataset/train/segments/road_image_93.png \n", + " inflating: dataset/train/segments/road_image_94.png \n", + " inflating: dataset/train/segments/road_image_95.png \n", + " inflating: dataset/train/segments/road_image_96.png \n", + " inflating: dataset/train/segments/road_image_97.png \n", + " inflating: dataset/train/segments/road_image_98.png \n", + " inflating: dataset/train/segments/road_image_99.png \n", + " creating: dataset/validation/\n", + " creating: dataset/validation/images/\n", + " inflating: dataset/validation/images/road_image_180.png \n", + " inflating: dataset/validation/images/road_image_181.png \n", + " inflating: dataset/validation/images/road_image_182.png \n", + " inflating: dataset/validation/images/road_image_183.png \n", + " inflating: dataset/validation/images/road_image_184.png \n", + " inflating: dataset/validation/images/road_image_185.png \n", + " inflating: dataset/validation/images/road_image_186.png \n", + " inflating: dataset/validation/images/road_image_187.png \n", + " inflating: dataset/validation/images/road_image_188.png \n", + " inflating: dataset/validation/images/road_image_189.png \n", + " inflating: dataset/validation/images/road_image_190.png \n", + " inflating: dataset/validation/images/road_image_191.png \n", + " inflating: dataset/validation/images/road_image_192.png \n", + " inflating: dataset/validation/images/road_image_193.png \n", + " inflating: dataset/validation/images/road_image_194.png \n", + " inflating: dataset/validation/images/road_image_195.png \n", + " inflating: dataset/validation/images/road_image_196.png \n", + " inflating: dataset/validation/images/road_image_197.png \n", + " inflating: dataset/validation/images/road_image_198.png \n", + " inflating: dataset/validation/images/road_image_199.png \n", + " creating: dataset/validation/lane/\n", + " inflating: dataset/validation/lane/road_image_180.png \n", + " inflating: dataset/validation/lane/road_image_181.png \n", + " inflating: dataset/validation/lane/road_image_182.png \n", + " inflating: dataset/validation/lane/road_image_183.png \n", + " inflating: dataset/validation/lane/road_image_184.png \n", + " inflating: dataset/validation/lane/road_image_185.png \n", + " inflating: dataset/validation/lane/road_image_186.png \n", + " inflating: dataset/validation/lane/road_image_187.png \n", + " inflating: dataset/validation/lane/road_image_188.png \n", + " inflating: dataset/validation/lane/road_image_189.png \n", + " inflating: dataset/validation/lane/road_image_190.png \n", + " inflating: dataset/validation/lane/road_image_191.png \n", + " inflating: dataset/validation/lane/road_image_192.png \n", + " inflating: dataset/validation/lane/road_image_193.png \n", + " inflating: dataset/validation/lane/road_image_194.png \n", + " inflating: dataset/validation/lane/road_image_195.png \n", + " inflating: dataset/validation/lane/road_image_196.png \n", + " inflating: dataset/validation/lane/road_image_197.png \n", + " inflating: dataset/validation/lane/road_image_198.png \n", + " inflating: dataset/validation/lane/road_image_199.png \n", + " creating: dataset/validation/segments/\n", + " inflating: dataset/validation/segments/road_image_180.png \n", + " inflating: dataset/validation/segments/road_image_181.png \n", + " inflating: dataset/validation/segments/road_image_182.png \n", + " inflating: dataset/validation/segments/road_image_183.png \n", + " inflating: dataset/validation/segments/road_image_184.png \n", + " inflating: dataset/validation/segments/road_image_185.png \n", + " inflating: dataset/validation/segments/road_image_186.png \n", + " inflating: dataset/validation/segments/road_image_187.png \n", + " inflating: dataset/validation/segments/road_image_188.png \n", + " inflating: dataset/validation/segments/road_image_189.png \n", + " inflating: dataset/validation/segments/road_image_190.png \n", + " inflating: dataset/validation/segments/road_image_191.png \n", + " inflating: dataset/validation/segments/road_image_192.png \n", + " inflating: dataset/validation/segments/road_image_193.png \n", + " inflating: dataset/validation/segments/road_image_194.png \n", + " inflating: dataset/validation/segments/road_image_195.png \n", + " inflating: dataset/validation/segments/road_image_196.png \n", + " inflating: dataset/validation/segments/road_image_197.png \n", + " inflating: dataset/validation/segments/road_image_198.png \n", + " inflating: dataset/validation/segments/road_image_199.png \n" + ] + } + ] }, { "cell_type": "markdown", @@ -575,7 +1199,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 71, "metadata": { "id": "qIK3UcD3STAG" }, @@ -588,6 +1212,15 @@ "val_dataloader = DataLoader(MyDataset(valid=True), batch_size = 8, shuffle = True)" ] }, + { + "cell_type": "markdown", + "source": [ + "## Take only two samples" + ], + "metadata": { + "id": "4iZyomcfP7hG" + } + }, { "cell_type": "code", "source": [ @@ -596,9 +1229,18 @@ "metadata": { "id": "cJ_g-ICbZUR1" }, - "execution_count": 9, + "execution_count": 72, "outputs": [] }, + { + "cell_type": "markdown", + "source": [ + "## Copy necessary files from repository" + ], + "metadata": { + "id": "qgPKH1aZQB3_" + } + }, { "cell_type": "code", "source": [ @@ -623,6 +1265,15 @@ "execution_count": 10, "outputs": [] }, + { + "cell_type": "markdown", + "source": [ + "## Mini Version of Original Network" + ], + "metadata": { + "id": "LjtBYvEuQGXF" + } + }, { "cell_type": "code", "source": [ @@ -690,9 +1341,18 @@ "metadata": { "id": "3U3eUnw0ZqhX" }, - "execution_count": 11, + "execution_count": 73, "outputs": [] }, + { + "cell_type": "markdown", + "source": [ + "## Defining Optimizer and loss for training" + ], + "metadata": { + "id": "7OPY0qlCQMiz" + } + }, { "cell_type": "code", "source": [ @@ -701,7 +1361,7 @@ "metadata": { "id": "3uHGAKHHZk8v" }, - "execution_count": 12, + "execution_count": 74, "outputs": [] }, { @@ -713,9 +1373,18 @@ "metadata": { "id": "ac7Fw1ksZoBh" }, - "execution_count": 13, + "execution_count": 75, "outputs": [] }, + { + "cell_type": "markdown", + "source": [ + "## Defining Custom metrics for evaluation" + ], + "metadata": { + "id": "EH08lQX4QVnY" + } + }, { "cell_type": "code", "source": [ @@ -881,12 +1550,24 @@ "metadata": { "id": "_P6UMIX6hlef" }, - "execution_count": 14, + "execution_count": 76, "outputs": [] }, + { + "cell_type": "markdown", + "source": [ + "## Training The model" + ], + "metadata": { + "id": "hbkoWq9kQaWJ" + } + }, { "cell_type": "code", "source": [ + "val_loss = []\n", + "train_loss = []\n", + "\n", "for i in list(range(1000)):\n", " model.train()\n", " model.to(\"cuda\")\n", @@ -897,6 +1578,7 @@ " optimizer.zero_grad()\n", " focal_loss, tversky_loss, loss = criterion(output,target)\n", " optimizer.zero_grad()\n", + " train_loss.append(loss.item())\n", " # print(output.size())\n", " loss.backward()\n", " optimizer.step()\n", @@ -913,29 +1595,31 @@ " da_seg_acc=da_segment_results[0],\n", " ll_seg_acc=ll_segment_results[0])\n", " print(msg)\n", - " print(\"Validation Evaluation\")\n", + " print()\n", + " print(\"Validation Evaluation:\")\n", " da_segment_results,ll_segment_results = val(val_dataloader, model)\n", "\n", " msg = 'Driving area Segment: Acc({da_seg_acc:.3f}) IOU ({da_seg_iou:.3f}) mIOU({da_seg_miou:.3f})\\n' \\\n", " 'Lane line Segment: Acc({ll_seg_acc:.3f}) IOU ({ll_seg_iou:.3f}) mIOU({ll_seg_miou:.3f})'.format(\n", " da_seg_acc=da_segment_results[0],da_seg_iou=da_segment_results[1],da_seg_miou=da_segment_results[2],\n", " ll_seg_acc=ll_segment_results[0],ll_seg_iou=ll_segment_results[1],ll_seg_miou=ll_segment_results[2])\n", - " print(msg)" + " print(msg)\n", + " print(\"----------------------------------------------------------------\")" ], "metadata": { "id": "9tWePJj0Zvvo", - "outputId": "b2432b55-0f17-4c32-b13e-61e9447cedea", + "outputId": "d58f20e8-41c4-4182-aa88-8f54e3f5c736", "colab": { "base_uri": "https://localhost:8080/" } }, - "execution_count": 15, + "execution_count": 77, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ - "loss: 1.34213\n", + "loss: 1.38184\n", "Accuracy:\n" ] }, @@ -943,23 +1627,24 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:01<00:00, 1.12s/it]\n" + "100%|██████████| 1/1 [00:00<00:00, 1.01it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.152)\n", - "Lane line Segment: Acc(0.993)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.102)\n", + "Lane line Segment: Acc(0.005)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:03<00:00, 1.07s/it]\n" + "100%|██████████| 3/3 [00:04<00:00, 1.52s/it]\n" ] }, { @@ -967,7 +1652,8 @@ "name": "stdout", "text": [ "Driving area Segment: Acc(0.202) IOU (0.202) mIOU(0.101)\n", - "Lane line Segment: Acc(0.981) IOU (0.000) mIOU(0.491)\n" + "Lane line Segment: Acc(0.019) IOU (0.019) mIOU(0.009)\n", + "----------------------------------------------------------------\n" ] }, { @@ -982,7 +1668,7 @@ "output_type": "stream", "name": "stdout", "text": [ - "loss: 0.92347\n", + "loss: 0.94735\n", "Accuracy:\n" ] }, @@ -990,32 +1676,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 8.38it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 8.81it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.872)\n", - "Lane line Segment: Acc(0.994)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.856)\n", + "Lane line Segment: Acc(0.993)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 2.34it/s]\n" + "100%|██████████| 3/3 [00:01<00:00, 2.09it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.797) IOU (0.000) mIOU(0.398)\n", + "Driving area Segment: Acc(0.797) IOU (0.000) mIOU(0.399)\n", "Lane line Segment: Acc(0.981) IOU (0.000) mIOU(0.491)\n", - "loss: 0.83888\n", + "----------------------------------------------------------------\n", + "loss: 0.81066\n", "Accuracy:\n" ] }, @@ -1023,23 +1711,24 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 6.60it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 8.84it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.856)\n", - "Lane line Segment: Acc(0.993)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.839)\n", + "Lane line Segment: Acc(0.992)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 1.52it/s]\n" + "100%|██████████| 3/3 [00:01<00:00, 2.13it/s]\n" ] }, { @@ -1048,7 +1737,8 @@ "text": [ "Driving area Segment: Acc(0.798) IOU (0.000) mIOU(0.399)\n", "Lane line Segment: Acc(0.981) IOU (0.000) mIOU(0.491)\n", - "loss: 0.78081\n", + "----------------------------------------------------------------\n", + "loss: 0.67491\n", "Accuracy:\n" ] }, @@ -1056,32 +1746,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 10.79it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 8.64it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.855)\n", + "Driving area Segment: Acc(0.874)\n", "Lane line Segment: Acc(0.993)\n", - "Validation Evaluation\n" + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 2.32it/s]\n" + "100%|██████████| 3/3 [00:01<00:00, 2.07it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.796) IOU (0.000) mIOU(0.398)\n", + "Driving area Segment: Acc(0.785) IOU (0.027) mIOU(0.405)\n", "Lane line Segment: Acc(0.981) IOU (0.000) mIOU(0.491)\n", - "loss: 0.57532\n", + "----------------------------------------------------------------\n", + "loss: 0.29812\n", "Accuracy:\n" ] }, @@ -1089,32 +1781,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 10.33it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 5.03it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.941)\n", - "Lane line Segment: Acc(0.993)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.922)\n", + "Lane line Segment: Acc(0.995)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 2.41it/s]\n" + "100%|██████████| 3/3 [00:02<00:00, 1.41it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.822) IOU (0.225) mIOU(0.518)\n", - "Lane line Segment: Acc(0.981) IOU (0.000) mIOU(0.491)\n", - "loss: 0.46402\n", + "Driving area Segment: Acc(0.808) IOU (0.245) mIOU(0.519)\n", + "Lane line Segment: Acc(0.971) IOU (0.021) mIOU(0.496)\n", + "----------------------------------------------------------------\n", + "loss: 0.17488\n", "Accuracy:\n" ] }, @@ -1122,32 +1816,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 9.45it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 8.60it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.934)\n", + "Driving area Segment: Acc(0.950)\n", "Lane line Segment: Acc(0.994)\n", - "Validation Evaluation\n" + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 2.37it/s]\n" + "100%|██████████| 3/3 [00:01<00:00, 2.13it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.824) IOU (0.228) mIOU(0.521)\n", - "Lane line Segment: Acc(0.981) IOU (0.000) mIOU(0.491)\n", - "loss: 0.31713\n", + "Driving area Segment: Acc(0.835) IOU (0.332) mIOU(0.577)\n", + "Lane line Segment: Acc(0.969) IOU (0.029) mIOU(0.499)\n", + "----------------------------------------------------------------\n", + "loss: 0.12239\n", "Accuracy:\n" ] }, @@ -1155,32 +1851,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 9.99it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 8.60it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.954)\n", - "Lane line Segment: Acc(0.993)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.958)\n", + "Lane line Segment: Acc(0.995)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 1.55it/s]\n" + "100%|██████████| 3/3 [00:01<00:00, 2.07it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.812) IOU (0.224) mIOU(0.513)\n", - "Lane line Segment: Acc(0.979) IOU (0.009) mIOU(0.494)\n", - "loss: 0.10646\n", + "Driving area Segment: Acc(0.853) IOU (0.366) mIOU(0.602)\n", + "Lane line Segment: Acc(0.965) IOU (0.037) mIOU(0.501)\n", + "----------------------------------------------------------------\n", + "loss: 0.09719\n", "Accuracy:\n" ] }, @@ -1188,32 +1886,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 5.96it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 8.13it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.945)\n", - "Lane line Segment: Acc(0.995)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.919)\n", + "Lane line Segment: Acc(0.988)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 2.13it/s]\n" + "100%|██████████| 3/3 [00:01<00:00, 2.19it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.817) IOU (0.210) mIOU(0.509)\n", - "Lane line Segment: Acc(0.974) IOU (0.013) mIOU(0.493)\n", - "loss: 0.09074\n", + "Driving area Segment: Acc(0.846) IOU (0.301) mIOU(0.568)\n", + "Lane line Segment: Acc(0.965) IOU (0.035) mIOU(0.500)\n", + "----------------------------------------------------------------\n", + "loss: 0.08525\n", "Accuracy:\n" ] }, @@ -1221,32 +1921,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 10.33it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 5.92it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.968)\n", - "Lane line Segment: Acc(0.994)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.970)\n", + "Lane line Segment: Acc(0.995)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 2.40it/s]\n" + "100%|██████████| 3/3 [00:02<00:00, 1.39it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.821) IOU (0.215) mIOU(0.514)\n", - "Lane line Segment: Acc(0.975) IOU (0.016) mIOU(0.495)\n", - "loss: 0.07511\n", + "Driving area Segment: Acc(0.851) IOU (0.312) mIOU(0.576)\n", + "Lane line Segment: Acc(0.964) IOU (0.044) mIOU(0.504)\n", + "----------------------------------------------------------------\n", + "loss: 0.06760\n", "Accuracy:\n" ] }, @@ -1254,32 +1956,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 9.77it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 8.43it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.943)\n", - "Lane line Segment: Acc(0.993)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.923)\n", + "Lane line Segment: Acc(0.997)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 2.36it/s]\n" + "100%|██████████| 3/3 [00:01<00:00, 2.11it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.829) IOU (0.238) mIOU(0.529)\n", - "Lane line Segment: Acc(0.978) IOU (0.017) mIOU(0.498)\n", - "loss: 0.06456\n", + "Driving area Segment: Acc(0.849) IOU (0.298) mIOU(0.568)\n", + "Lane line Segment: Acc(0.963) IOU (0.034) mIOU(0.499)\n", + "----------------------------------------------------------------\n", + "loss: 0.04619\n", "Accuracy:\n" ] }, @@ -1287,32 +1991,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 9.98it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 8.42it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.945)\n", - "Lane line Segment: Acc(0.993)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.955)\n", + "Lane line Segment: Acc(0.990)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 2.47it/s]\n" + "100%|██████████| 3/3 [00:01<00:00, 2.11it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.831) IOU (0.240) mIOU(0.531)\n", - "Lane line Segment: Acc(0.979) IOU (0.010) mIOU(0.494)\n", - "loss: 0.05576\n", + "Driving area Segment: Acc(0.838) IOU (0.222) mIOU(0.526)\n", + "Lane line Segment: Acc(0.966) IOU (0.054) mIOU(0.510)\n", + "----------------------------------------------------------------\n", + "loss: 0.04413\n", "Accuracy:\n" ] }, @@ -1320,32 +2026,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 8.83it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 8.36it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.926)\n", - "Lane line Segment: Acc(0.995)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.975)\n", + "Lane line Segment: Acc(0.997)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 1.54it/s]\n" + "100%|██████████| 3/3 [00:01<00:00, 2.15it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.830) IOU (0.236) mIOU(0.528)\n", - "Lane line Segment: Acc(0.980) IOU (0.010) mIOU(0.495)\n", - "loss: 0.04852\n", + "Driving area Segment: Acc(0.837) IOU (0.218) mIOU(0.524)\n", + "Lane line Segment: Acc(0.967) IOU (0.040) mIOU(0.503)\n", + "----------------------------------------------------------------\n", + "loss: 0.03592\n", "Accuracy:\n" ] }, @@ -1353,32 +2061,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 9.22it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 7.39it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.954)\n", - "Lane line Segment: Acc(0.996)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.978)\n", + "Lane line Segment: Acc(0.997)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 2.38it/s]\n" + "100%|██████████| 3/3 [00:01<00:00, 1.83it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.831) IOU (0.278) mIOU(0.549)\n", - "Lane line Segment: Acc(0.981) IOU (0.008) mIOU(0.494)\n", - "loss: 0.04271\n", + "Driving area Segment: Acc(0.843) IOU (0.250) mIOU(0.542)\n", + "Lane line Segment: Acc(0.966) IOU (0.051) mIOU(0.509)\n", + "----------------------------------------------------------------\n", + "loss: 0.03287\n", "Accuracy:\n" ] }, @@ -1386,32 +2096,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 9.39it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 5.25it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.910)\n", - "Lane line Segment: Acc(0.992)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.976)\n", + "Lane line Segment: Acc(0.997)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 2.41it/s]\n" + "100%|██████████| 3/3 [00:01<00:00, 1.73it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.830) IOU (0.273) mIOU(0.545)\n", - "Lane line Segment: Acc(0.980) IOU (0.007) mIOU(0.494)\n", - "loss: 0.03860\n", + "Driving area Segment: Acc(0.845) IOU (0.239) mIOU(0.537)\n", + "Lane line Segment: Acc(0.966) IOU (0.060) mIOU(0.513)\n", + "----------------------------------------------------------------\n", + "loss: 0.03050\n", "Accuracy:\n" ] }, @@ -1419,32 +2131,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 10.34it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 8.60it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.906)\n", - "Lane line Segment: Acc(0.993)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.962)\n", + "Lane line Segment: Acc(0.996)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 2.38it/s]\n" + "100%|██████████| 3/3 [00:01<00:00, 2.23it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.828) IOU (0.282) mIOU(0.548)\n", - "Lane line Segment: Acc(0.979) IOU (0.007) mIOU(0.493)\n", - "loss: 0.03481\n", + "Driving area Segment: Acc(0.846) IOU (0.266) mIOU(0.551)\n", + "Lane line Segment: Acc(0.966) IOU (0.060) mIOU(0.513)\n", + "----------------------------------------------------------------\n", + "loss: 0.02859\n", "Accuracy:\n" ] }, @@ -1452,32 +2166,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 9.99it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 8.35it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.938)\n", - "Lane line Segment: Acc(0.995)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.976)\n", + "Lane line Segment: Acc(0.997)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 2.36it/s]\n" + "100%|██████████| 3/3 [00:01<00:00, 2.17it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.826) IOU (0.277) mIOU(0.545)\n", - "Lane line Segment: Acc(0.977) IOU (0.007) mIOU(0.492)\n", - "loss: 0.03134\n", + "Driving area Segment: Acc(0.846) IOU (0.265) mIOU(0.551)\n", + "Lane line Segment: Acc(0.967) IOU (0.047) mIOU(0.507)\n", + "----------------------------------------------------------------\n", + "loss: 0.03143\n", "Accuracy:\n" ] }, @@ -1485,32 +2201,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 6.22it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 7.43it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.915)\n", - "Lane line Segment: Acc(0.993)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.949)\n", + "Lane line Segment: Acc(0.997)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 1.58it/s]\n" + "100%|██████████| 3/3 [00:01<00:00, 2.29it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.826) IOU (0.287) mIOU(0.550)\n", - "Lane line Segment: Acc(0.975) IOU (0.009) mIOU(0.492)\n", - "loss: 0.02738\n", + "Driving area Segment: Acc(0.860) IOU (0.343) mIOU(0.596)\n", + "Lane line Segment: Acc(0.965) IOU (0.064) mIOU(0.514)\n", + "----------------------------------------------------------------\n", + "loss: 0.02626\n", "Accuracy:\n" ] }, @@ -1518,32 +2236,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 8.42it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 5.28it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.955)\n", + "Driving area Segment: Acc(0.973)\n", "Lane line Segment: Acc(0.997)\n", - "Validation Evaluation\n" + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 2.37it/s]\n" + "100%|██████████| 3/3 [00:02<00:00, 1.27it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.827) IOU (0.296) mIOU(0.555)\n", - "Lane line Segment: Acc(0.974) IOU (0.017) mIOU(0.495)\n", - "loss: 0.02347\n", + "Driving area Segment: Acc(0.847) IOU (0.267) mIOU(0.552)\n", + "Lane line Segment: Acc(0.969) IOU (0.051) mIOU(0.510)\n", + "----------------------------------------------------------------\n", + "loss: 0.02511\n", "Accuracy:\n" ] }, @@ -1551,32 +2271,34 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 8.97it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 8.58it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.945)\n", - "Lane line Segment: Acc(0.996)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.978)\n", + "Lane line Segment: Acc(0.998)\n", + "\n", + "Validation Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 2.36it/s]\n" + "100%|██████████| 3/3 [00:01<00:00, 1.59it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.828) IOU (0.286) mIOU(0.551)\n", - "Lane line Segment: Acc(0.974) IOU (0.014) mIOU(0.494)\n", - "loss: 0.02074\n", + "Driving area Segment: Acc(0.849) IOU (0.284) mIOU(0.561)\n", + "Lane line Segment: Acc(0.968) IOU (0.072) mIOU(0.520)\n", + "----------------------------------------------------------------\n", + "loss: 0.02446\n", "Accuracy:\n" ] }, @@ -1584,31 +2306,97 @@ "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 1/1 [00:00<00:00, 9.55it/s]\n" + "100%|██████████| 1/1 [00:00<00:00, 7.59it/s]\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.934)\n", - "Lane line Segment: Acc(0.994)\n", - "Validation Evaluation\n" + "Driving area Segment: Acc(0.982)\n", + "Lane line Segment: Acc(0.997)\n", + "\n", + "Validation Evaluation:\n" + ] + }, + { + "output_type": "stream", + "name": "stderr", + "text": [ + "100%|██████████| 3/3 [00:01<00:00, 2.09it/s]\n" + ] + }, + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Driving area Segment: Acc(0.851) IOU (0.298) mIOU(0.570)\n", + "Lane line Segment: Acc(0.968) IOU (0.059) mIOU(0.514)\n", + "----------------------------------------------------------------\n" + ] + } + ] + }, + { + "cell_type": "markdown", + "source": [ + "## Evaluating the model on the test set" + ], + "metadata": { + "id": "Jmb_9DeFQdLk" + } + }, + { + "cell_type": "code", + "source": [ + "print(\"Test Evaluation:\")\n", + "da_segment_results,ll_segment_results = val(test_dataloader, model)\n", + "\n", + "msg = '\\nDriving area Segment: Acc({da_seg_acc:.3f}) IOU ({da_seg_iou:.3f}) mIOU({da_seg_miou:.3f})\\n' \\\n", + " 'Lane line Segment: Acc({ll_seg_acc:.3f}) IOU ({ll_seg_iou:.3f}) mIOU({ll_seg_miou:.3f})'.format(\n", + " da_seg_acc=da_segment_results[0],da_seg_iou=da_segment_results[1],da_seg_miou=da_segment_results[2],\n", + " ll_seg_acc=ll_segment_results[0],ll_seg_iou=ll_segment_results[1],ll_seg_miou=ll_segment_results[2])\n", + "print(msg)\n", + "print(\"----------------------------------------------------------------\")" + ], + "metadata": { + "id": "GcNA2z01LJgP", + "outputId": "282790f8-ab11-45cf-8b2c-3f88e2f0068d", + "colab": { + "base_uri": "https://localhost:8080/" + } + }, + "execution_count": 79, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Test Evaluation:\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ - "100%|██████████| 3/3 [00:01<00:00, 2.40it/s]\n" + "100%|██████████| 3/3 [00:02<00:00, 1.25it/s]" ] }, { "output_type": "stream", "name": "stdout", "text": [ - "Driving area Segment: Acc(0.831) IOU (0.266) mIOU(0.542)\n", - "Lane line Segment: Acc(0.973) IOU (0.011) mIOU(0.492)\n" + "\n", + "Driving area Segment: Acc(0.867) IOU (0.176) mIOU(0.520)\n", + "Lane line Segment: Acc(0.978) IOU (0.023) mIOU(0.500)\n", + "----------------------------------------------------------------\n" + ] + }, + { + "output_type": "stream", + "name": "stderr", + "text": [ + "\n" ] } ] @@ -1618,7 +2406,7 @@ "colab": { "provenance": [], "gpuType": "T4", - "authorship_tag": "ABX9TyOTBj528TU3TSWS9Se+ujbn", + "authorship_tag": "ABX9TyNV1rcexyC79Q8xgchCjS58", "include_colab_link": true }, "kernelspec": {