From 7286cad73326c3e111f9c1c7f4fe3d751dfa37bc Mon Sep 17 00:00:00 2001 From: AshLynxu Date: Wed, 22 Jan 2025 20:46:45 +0200 Subject: [PATCH] 2nd --- cat_detect.ipynb | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/cat_detect.ipynb b/cat_detect.ipynb index 7fa0654..262ff6a 100644 --- a/cat_detect.ipynb +++ b/cat_detect.ipynb @@ -56,6 +56,50 @@ "%pip install ultralytics " ] }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Creating new Ultralytics Settings v0.0.6 file \n", + "View Ultralytics Settings with 'yolo settings' or at 'C:\\Users\\danie\\AppData\\Roaming\\Ultralytics\\settings.json'\n", + "Update Settings with 'yolo settings key=value', i.e. 'yolo settings runs_dir=path/to/dir'. For help see https://docs.ultralytics.com/quickstart/#ultralytics-settings.\n" + ] + } + ], + "source": [ + "import os\n", + "import cv2\n", + "import numpy as np\n", + "from ultralytics import YOLO\n", + "from torchvision import models, transforms\n", + "from sklearn.cluster import KMeans\n", + "import torch\n", + "from matplotlib import pyplot as plt\n", + "from PIL import Image" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "YOLO\n" + ] + } + ], + "source": [ + "print(\"YOLO\")" + ] + }, { "cell_type": "code", "execution_count": null,