diff --git a/examples/integrations/sam/meta_sam_labelbox_video.ipynb b/examples/integrations/sam/meta_sam_labelbox_video.ipynb index 6c67dacc4..46d1dc0b0 100644 --- a/examples/integrations/sam/meta_sam_labelbox_video.ipynb +++ b/examples/integrations/sam/meta_sam_labelbox_video.ipynb @@ -3,6 +3,30 @@ "nbformat_minor": 0, "metadata": {}, "cells": [ + { + "metadata": {}, + "source": [ + "\n", + " \n", + "\n" + ], + "cell_type": "markdown" + }, + { + "metadata": {}, + "source": [ + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "" + ], + "cell_type": "markdown" + }, { "metadata": {}, "source": [ @@ -25,15 +49,7 @@ "!nvidia-smi" ], "cell_type": "code", - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "/bin/bash: nvidia-smi: command not found\n" - ] - } - ], + "outputs": [], "execution_count": null }, { @@ -74,26 +90,7 @@ "!wget -v {VIDEO_PATH}" ], "cell_type": "code", - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "/content\n", - "--2023-06-01 17:47:31-- https://storage.googleapis.com/labelbox-datasets/image_sample_data/skateboarding.mp4\n", - "Resolving storage.googleapis.com (storage.googleapis.com)... 142.250.4.128, 142.251.10.128, 142.251.12.128, ...\n", - "Connecting to storage.googleapis.com (storage.googleapis.com)|142.250.4.128|:443... connected.\n", - "HTTP request sent, awaiting response... 200 OK\n", - "Length: 5275594 (5.0M) [video/mp4]\n", - "Saving to: \u2018skateboarding.mp4\u2019\n", - "\n", - "skateboarding.mp4 100%[===================>] 5.03M 3.21MB/s in 1.6s \n", - "\n", - "2023-06-01 17:47:33 (3.21 MB/s) - \u2018skateboarding.mp4\u2019 saved [5275594/5275594]\n", - "\n" - ] - } - ], + "outputs": [], "execution_count": null }, { @@ -111,85 +108,7 @@ "!pip install ultralytics==8.0.20" ], "cell_type": "code", - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n", - "Requirement already satisfied: ultralytics==8.0.20 in /usr/local/lib/python3.10/dist-packages (8.0.20)\n", - "Requirement already satisfied: matplotlib>=3.2.2 in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (3.7.1)\n", - "Requirement already satisfied: numpy>=1.18.5 in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (1.22.4)\n", - "Requirement already satisfied: opencv-python>=4.6.0 in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (4.7.0.72)\n", - "Requirement already satisfied: Pillow>=7.1.2 in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (8.4.0)\n", - "Requirement already satisfied: PyYAML>=5.3.1 in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (6.0)\n", - "Requirement already satisfied: requests>=2.23.0 in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (2.27.1)\n", - "Requirement already satisfied: scipy>=1.4.1 in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (1.10.1)\n", - "Requirement already satisfied: torch>=1.7.0 in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (2.0.1+cu118)\n", - "Requirement already satisfied: torchvision>=0.8.1 in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (0.15.2+cu118)\n", - "Requirement already satisfied: tqdm>=4.64.0 in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (4.65.0)\n", - "Requirement already satisfied: tensorboard>=2.4.1 in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (2.12.2)\n", - "Requirement already satisfied: pandas>=1.1.4 in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (1.5.3)\n", - "Requirement already satisfied: seaborn>=0.11.0 in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (0.12.2)\n", - "Requirement already satisfied: ipython in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (7.34.0)\n", - "Requirement already satisfied: psutil in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (5.9.5)\n", - "Requirement already satisfied: thop>=0.1.1 in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (0.1.1.post2209072238)\n", - "Requirement already satisfied: sentry-sdk in /usr/local/lib/python3.10/dist-packages (from ultralytics==8.0.20) (1.24.0)\n", - "Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.2.2->ultralytics==8.0.20) (1.0.7)\n", - "Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.2.2->ultralytics==8.0.20) (0.11.0)\n", - "Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.2.2->ultralytics==8.0.20) (4.39.3)\n", - "Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.2.2->ultralytics==8.0.20) (1.4.4)\n", - "Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.2.2->ultralytics==8.0.20) (23.1)\n", - "Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.2.2->ultralytics==8.0.20) (3.0.9)\n", - "Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.2.2->ultralytics==8.0.20) (2.8.2)\n", - "Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas>=1.1.4->ultralytics==8.0.20) (2022.7.1)\n", - "Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests>=2.23.0->ultralytics==8.0.20) (1.26.15)\n", - "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests>=2.23.0->ultralytics==8.0.20) (2022.12.7)\n", - "Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.10/dist-packages (from requests>=2.23.0->ultralytics==8.0.20) (2.0.12)\n", - "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests>=2.23.0->ultralytics==8.0.20) (3.4)\n", - "Requirement already satisfied: absl-py>=0.4 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.4.1->ultralytics==8.0.20) (1.4.0)\n", - "Requirement already satisfied: grpcio>=1.48.2 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.4.1->ultralytics==8.0.20) (1.54.0)\n", - "Requirement already satisfied: google-auth<3,>=1.6.3 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.4.1->ultralytics==8.0.20) (2.17.3)\n", - "Requirement already satisfied: google-auth-oauthlib<1.1,>=0.5 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.4.1->ultralytics==8.0.20) (1.0.0)\n", - "Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.4.1->ultralytics==8.0.20) (3.4.3)\n", - "Requirement already satisfied: protobuf>=3.19.6 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.4.1->ultralytics==8.0.20) (3.20.3)\n", - "Requirement already satisfied: setuptools>=41.0.0 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.4.1->ultralytics==8.0.20) (67.7.2)\n", - "Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.4.1->ultralytics==8.0.20) (0.7.0)\n", - "Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.4.1->ultralytics==8.0.20) (1.8.1)\n", - "Requirement already satisfied: werkzeug>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.4.1->ultralytics==8.0.20) (2.3.0)\n", - "Requirement already satisfied: wheel>=0.26 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.4.1->ultralytics==8.0.20) (0.40.0)\n", - "Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from torch>=1.7.0->ultralytics==8.0.20) (3.12.0)\n", - "Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from torch>=1.7.0->ultralytics==8.0.20) (4.5.0)\n", - "Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch>=1.7.0->ultralytics==8.0.20) (1.11.1)\n", - "Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch>=1.7.0->ultralytics==8.0.20) (3.1)\n", - "Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch>=1.7.0->ultralytics==8.0.20) (3.1.2)\n", - "Requirement already satisfied: triton==2.0.0 in /usr/local/lib/python3.10/dist-packages (from torch>=1.7.0->ultralytics==8.0.20) (2.0.0)\n", - "Requirement already satisfied: cmake in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch>=1.7.0->ultralytics==8.0.20) (3.25.2)\n", - "Requirement already satisfied: lit in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch>=1.7.0->ultralytics==8.0.20) (16.0.5)\n", - "Requirement already satisfied: jedi>=0.16 in /usr/local/lib/python3.10/dist-packages (from ipython->ultralytics==8.0.20) (0.18.2)\n", - "Requirement already satisfied: decorator in /usr/local/lib/python3.10/dist-packages (from ipython->ultralytics==8.0.20) (4.4.2)\n", - "Requirement already satisfied: pickleshare in /usr/local/lib/python3.10/dist-packages (from ipython->ultralytics==8.0.20) (0.7.5)\n", - "Requirement already satisfied: traitlets>=4.2 in /usr/local/lib/python3.10/dist-packages (from ipython->ultralytics==8.0.20) (5.7.1)\n", - "Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from ipython->ultralytics==8.0.20) (3.0.38)\n", - "Requirement already satisfied: pygments in /usr/local/lib/python3.10/dist-packages (from ipython->ultralytics==8.0.20) (2.14.0)\n", - "Requirement already satisfied: backcall in /usr/local/lib/python3.10/dist-packages (from ipython->ultralytics==8.0.20) (0.2.0)\n", - "Requirement already satisfied: matplotlib-inline in /usr/local/lib/python3.10/dist-packages (from ipython->ultralytics==8.0.20) (0.1.6)\n", - "Requirement already satisfied: pexpect>4.3 in /usr/local/lib/python3.10/dist-packages (from ipython->ultralytics==8.0.20) (4.8.0)\n", - "Requirement already satisfied: cachetools<6.0,>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard>=2.4.1->ultralytics==8.0.20) (5.3.0)\n", - "Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard>=2.4.1->ultralytics==8.0.20) (0.3.0)\n", - "Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard>=2.4.1->ultralytics==8.0.20) (1.16.0)\n", - "Requirement already satisfied: rsa<5,>=3.1.4 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard>=2.4.1->ultralytics==8.0.20) (4.9)\n", - "Requirement already satisfied: requests-oauthlib>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from google-auth-oauthlib<1.1,>=0.5->tensorboard>=2.4.1->ultralytics==8.0.20) (1.3.1)\n", - "Requirement already satisfied: parso<0.9.0,>=0.8.0 in /usr/local/lib/python3.10/dist-packages (from jedi>=0.16->ipython->ultralytics==8.0.20) (0.8.3)\n", - "Requirement already satisfied: ptyprocess>=0.5 in /usr/local/lib/python3.10/dist-packages (from pexpect>4.3->ipython->ultralytics==8.0.20) (0.7.0)\n", - "Requirement already satisfied: wcwidth in /usr/local/lib/python3.10/dist-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython->ultralytics==8.0.20) (0.2.6)\n", - "Requirement already satisfied: MarkupSafe>=2.1.1 in /usr/local/lib/python3.10/dist-packages (from werkzeug>=1.0.1->tensorboard>=2.4.1->ultralytics==8.0.20) (2.1.2)\n", - "Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch>=1.7.0->ultralytics==8.0.20) (1.3.0)\n", - "Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in /usr/local/lib/python3.10/dist-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard>=2.4.1->ultralytics==8.0.20) (0.5.0)\n", - "Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/lib/python3.10/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard>=2.4.1->ultralytics==8.0.20) (3.2.2)\n" - ] - } - ], + "outputs": [], "execution_count": null }, { @@ -202,16 +121,7 @@ "from ultralytics import YOLO" ], "cell_type": "code", - "outputs": [ - { - "output_type": "stream", - "name": "stderr", - "text": [ - "Ultralytics YOLOv8.0.20 \ud83d\ude80 Python-3.10.11 torch-2.0.1+cu118 CUDA:0 (Tesla T4, 15102MiB)\n", - "Setup complete \u2705 (2 CPUs, 12.7 GB RAM, 23.3/78.2 GB disk)\n" - ] - } - ], + "outputs": [], "execution_count": null }, { @@ -228,24 +138,7 @@ "chosen_class_ids = [0] # person" ], "cell_type": "code", - "outputs": [ - { - "output_type": "stream", - "name": "stderr", - "text": [ - "Downloading https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8n.pt to /content/yolov8n.pt...\n", - "100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 6.23M/6.23M [00:00<00:00, 318MB/s]\n", - "\n" - ] - }, - { - "output_type": "stream", - "name": "stdout", - "text": [ - "{0: 'person', 1: 'bicycle', 2: 'car', 3: 'motorcycle', 4: 'airplane', 5: 'bus', 6: 'train', 7: 'truck', 8: 'boat', 9: 'traffic light', 10: 'fire hydrant', 11: 'stop sign', 12: 'parking meter', 13: 'bench', 14: 'bird', 15: 'cat', 16: 'dog', 17: 'horse', 18: 'sheep', 19: 'cow', 20: 'elephant', 21: 'bear', 22: 'zebra', 23: 'giraffe', 24: 'backpack', 25: 'umbrella', 26: 'handbag', 27: 'tie', 28: 'suitcase', 29: 'frisbee', 30: 'skis', 31: 'snowboard', 32: 'sports ball', 33: 'kite', 34: 'baseball bat', 35: 'baseball glove', 36: 'skateboard', 37: 'surfboard', 38: 'tennis racket', 39: 'bottle', 40: 'wine glass', 41: 'cup', 42: 'fork', 43: 'knife', 44: 'spoon', 45: 'bowl', 46: 'banana', 47: 'apple', 48: 'sandwich', 49: 'orange', 50: 'broccoli', 51: 'carrot', 52: 'hot dog', 53: 'pizza', 54: 'donut', 55: 'cake', 56: 'chair', 57: 'couch', 58: 'potted plant', 59: 'bed', 60: 'dining table', 61: 'toilet', 62: 'tv', 63: 'laptop', 64: 'mouse', 65: 'remote', 66: 'keyboard', 67: 'cell phone', 68: 'microwave', 69: 'oven', 70: 'toaster', 71: 'sink', 72: 'refrigerator', 73: 'book', 74: 'clock', 75: 'vase', 76: 'scissors', 77: 'teddy bear', 78: 'hair drier', 79: 'toothbrush'}\n" - ] - } - ], + "outputs": [], "execution_count": null }, { @@ -264,28 +157,7 @@ "!{sys.executable} -m pip install 'git+https://github.com/facebookresearch/segment-anything.git'" ], "cell_type": "code", - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "/content\n", - "Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n", - "Collecting git+https://github.com/facebookresearch/segment-anything.git\n", - " Cloning https://github.com/facebookresearch/segment-anything.git to /tmp/pip-req-build-ksq8lhww\n", - " Running command git clone --filter=blob:none --quiet https://github.com/facebookresearch/segment-anything.git /tmp/pip-req-build-ksq8lhww\n", - " Resolved https://github.com/facebookresearch/segment-anything.git to commit 6fdee8f2727f4506cfbbe553e23b895e27956588\n", - " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", - "Building wheels for collected packages: segment-anything\n", - " Building wheel for segment-anything (setup.py) ... \u001b[?25l\u001b[?25hdone\n", - " Created wheel for segment-anything: filename=segment_anything-1.0-py3-none-any.whl size=36589 sha256=60dab8cf4f0eb0fb50e4788f8a046b3e6cdf867dae3b06260959632c39a3b29d\n", - " Stored in directory: /tmp/pip-ephem-wheel-cache-ujfm6ag7/wheels/10/cf/59/9ccb2f0a1bcc81d4fbd0e501680b5d088d690c6cfbc02dc99d\n", - "Successfully built segment-anything\n", - "Installing collected packages: segment-anything\n", - "Successfully installed segment-anything-1.0\n" - ] - } - ], + "outputs": [], "execution_count": null }, { @@ -303,17 +175,7 @@ "print(CHECKPOINT_PATH, \"; exist:\", os.path.isfile(CHECKPOINT_PATH))" ], "cell_type": "code", - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "/content\n", - "/content/weights\n", - "/content/weights/sam_vit_h_4b8939.pth ; exist: True\n" - ] - } - ], + "outputs": [], "execution_count": null }, { @@ -357,20 +219,7 @@ "!pip install -q \"labelbox[data]\"" ], "cell_type": "code", - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "\u001b[?25l \u001b[90m\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u001b[0m \u001b[32m0.0/209.1 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u001b[0m \u001b[32m209.1/209.1 kB\u001b[0m \u001b[31m6.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", - "\u001b[2K \u001b[90m\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u001b[0m \u001b[32m7.7/7.7 MB\u001b[0m \u001b[31m75.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", - " Building wheel for backports-datetime-fromisoformat (setup.py) ... \u001b[?25l\u001b[?25hdone\n", - " Building wheel for pygeotile (setup.py) ... \u001b[?25l\u001b[?25hdone\n" - ] - } - ], + "outputs": [], "execution_count": null }, { @@ -558,16 +407,7 @@ "print(f\"Failed data rows: {task.failed_data_rows}\")" ], "cell_type": "code", - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "Errors: None\n", - "Failed data rows: None\n" - ] - } - ], + "outputs": [], "execution_count": null }, { @@ -598,54 +438,7 @@ "cap.release()" ], "cell_type": "code", - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "Processing frame number 1\n" - ] - }, - { - "output_type": "stream", - "name": "stderr", - "text": [ - "Ultralytics YOLOv8.0.20 \ud83d\ude80 Python-3.10.11 torch-2.0.1+cu118 CUDA:0 (Tesla T4, 15102MiB)\n", - "YOLOv8n summary (fused): 168 layers, 3151904 parameters, 0 gradients, 8.7 GFLOPs\n" - ] - }, - { - "output_type": "stream", - "name": "stdout", - "text": [ - "Processing frame number 30\n", - "Processing frame number 60\n", - "Processing frame number 90\n", - "Processing frame number 120\n", - "Processing frame number 150\n", - "Processing frame number 180\n", - "Processing frame number 210\n", - "Processing frame number 240\n", - "Processing frame number 270\n", - "Processing frame number 300\n", - "Processing frame number 330\n", - "Processing frame number 360\n", - "Processing frame number 390\n", - "Processing frame number 420\n", - "Processing frame number 450\n", - "Processing frame number 480\n", - "Processing frame number 510\n", - "Processing frame number 540\n", - "Processing frame number 570\n", - "Processing frame number 600\n", - "Processing frame number 630\n", - "Processing frame number 660\n", - "Processing frame number 690\n", - "Processing frame number 720\n", - "Processing frame number 750\n" - ] - } - ], + "outputs": [], "execution_count": null }, { @@ -654,18 +447,7 @@ "unique_class_ids" ], "cell_type": "code", - "outputs": [ - { - "output_type": "execute_result", - "data": { - "text/plain": [ - "{0, 2, 36}" - ] - }, - "metadata": {}, - "execution_count": 17 - } - ], + "outputs": [], "execution_count": null }, { @@ -742,22 +524,7 @@ "print(f\"Batch: {batch}\")" ], "cell_type": "code", - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "Batch: \n" - ] - } - ], + "outputs": [], "execution_count": null }, { @@ -772,15 +539,7 @@ "print(feature_schema_ids)" ], "cell_type": "code", - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "{'person': 'cliddzk7u01gn070a7q98gex1'}\n" - ] - } - ], + "outputs": [], "execution_count": null }, { @@ -865,62 +624,7 @@ "cv2.destroyAllWindows()" ], "cell_type": "code", - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "Processing frame number 1\n", - "No boxes found on frame 1\n", - "No boxes found on frame 2\n", - "No boxes found on frame 3\n", - "No boxes found on frame 4\n", - "No boxes found on frame 5\n", - "No boxes found on frame 6\n", - "No boxes found on frame 7\n", - "No boxes found on frame 8\n", - "No boxes found on frame 9\n", - "No boxes found on frame 10\n", - "No boxes found on frame 11\n", - "No boxes found on frame 12\n", - "No boxes found on frame 13\n", - "No boxes found on frame 14\n", - "No boxes found on frame 15\n", - "No boxes found on frame 16\n", - "No boxes found on frame 17\n", - "No boxes found on frame 18\n", - "No boxes found on frame 19\n", - "No boxes found on frame 20\n", - "No boxes found on frame 21\n", - "No boxes found on frame 22\n", - "No boxes found on frame 23\n", - "No boxes found on frame 24\n", - "No boxes found on frame 25\n", - "No boxes found on frame 26\n", - "No boxes found on frame 27\n", - "No boxes found on frame 28\n", - "No boxes found on frame 29\n", - "Processing frame number 30\n", - "No boxes found on frame 30\n", - "No boxes found on frame 31\n", - "No boxes found on frame 32\n", - "No boxes found on frame 33\n", - "No boxes found on frame 34\n", - "No boxes found on frame 35\n", - "No boxes found on frame 36\n", - "No boxes found on frame 37\n", - "No boxes found on frame 38\n", - "No boxes found on frame 39\n", - "No boxes found on frame 40\n", - "No boxes found on frame 41\n", - "No boxes found on frame 42\n", - "No boxes found on frame 43\n", - "No boxes found on frame 44\n", - "Processing frame number 60\n", - "Processing frame number 90\n" - ] - } - ], + "outputs": [], "execution_count": null }, { @@ -959,16 +663,7 @@ "print(f\"Status of uploads: {upload_job.statuses}\")" ], "cell_type": "code", - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "Errors: []\n", - "Status of uploads: [{'uuid': 'b11e35fb-657a-4a21-96de-005d911e5229', 'dataRow': {'id': 'cliddyrjv12yw07470vjra12r', 'globalKey': 'skateboarding.mp4'}, 'status': 'SUCCESS'}]\n" - ] - } - ], + "outputs": [], "execution_count": null }, {