From 443e893acc665e2280d5616e0644dd4f5498adf3 Mon Sep 17 00:00:00 2001 From: Ivan Kharitonov Date: Wed, 25 Oct 2023 07:14:34 +0300 Subject: [PATCH] Modified using Colaboratory --- tutorial-mot.ipynb | 45 ++++++++++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 17 deletions(-) diff --git a/tutorial-mot.ipynb b/tutorial-mot.ipynb index ae126560..370788d3 100644 --- a/tutorial-mot.ipynb +++ b/tutorial-mot.ipynb @@ -2,24 +2,35 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "metadata": { - "id": "tVDBbLHGQqWb" + "id": "tVDBbLHGQqWb", + "outputId": "f038e53e-6c99-4656-9c80-3f9928ec6671", + "colab": { + "base_uri": "https://localhost:8080/" + } }, - "outputs": [], + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "The autoreload extension is already loaded. To reload it, use:\n", + " %reload_ext autoreload\n" + ] + } + ], "source": [ "import sys, os\n", "if 'google.colab' in sys.modules:\n", " !apt update > /dev/null 2>&1 && apt install libeigen3-dev > /dev/null 2>&1\n", - " !git clone https://github.com/kharitonov-ivan/Multi-Object-Tracking-in-python.git > /dev/null 2>&1\n", - "\n", - " !cd Multi-Object-Tracking-in-python && python -m pip install -e . > /dev/null 2>&1\n", + " !git clone https://github.com/kharitonov-ivan/multi-object-tracking-in-python.git > /dev/null 2>&1\n", + " !cd multi-object-tracking-in-python && python -m pip install -e . > /dev/null 2>&1\n", + " sys.path.append('/content/Multi-Object-Tracking-in-python')\n", "\n", "%load_ext autoreload\n", "%autoreload 2\n", - "import scipy\n", - "import numpy as np\n", - "import matplotlib.pyplot as plt" + "import scipy, numpy as np, matplotlib.pyplot as plt" ] }, { @@ -110,7 +121,7 @@ "height": 322 } }, - "execution_count": 6, + "execution_count": null, "outputs": [ { "output_type": "error", @@ -149,7 +160,7 @@ "height": 322 } }, - "execution_count": 4, + "execution_count": null, "outputs": [ { "output_type": "error", @@ -188,7 +199,7 @@ "height": 322 } }, - "execution_count": 3, + "execution_count": null, "outputs": [ { "output_type": "error", @@ -303,7 +314,7 @@ "metadata": { "id": "_J01aNyroAS4" }, - "execution_count": 20, + "execution_count": null, "outputs": [] }, { @@ -385,7 +396,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -471,7 +482,7 @@ "id": "yvDfR1KIfX5H", "outputId": "ccb1ebf6-372b-43c8-e609-b036436f6645" }, - "execution_count": 3, + "execution_count": null, "outputs": [ { "output_type": "display_data", @@ -518,7 +529,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -558,7 +569,7 @@ "metadata": { "id": "6hQgZXPddYVX" }, - "execution_count": 13, + "execution_count": null, "outputs": [] }, {