Update hub.ipynb (#10062)
This commit is contained in:
parent
3bbbdcfef8
commit
6b354ef945
1 changed files with 10 additions and 10 deletions
|
|
@ -22,7 +22,7 @@
|
|||
"id": "FIzICjaph_Wy"
|
||||
},
|
||||
"source": [
|
||||
"<a align=\"center\" href=\"https://hub.ultralytics.com\" target=\"_blank\">\n",
|
||||
"<a align=\"center\" href=\"https://bit.ly/ultralytics_hub\" target=\"_blank\">\n",
|
||||
"<img width=\"1024\", src=\"https://github.com/ultralytics/assets/raw/main/im/ultralytics-hub.png\"></a>\n",
|
||||
"\n",
|
||||
"<div align=\"center\">\n",
|
||||
|
|
@ -31,12 +31,12 @@
|
|||
"\n",
|
||||
" <a href=\"https://github.com/ultralytics/hub/actions/workflows/ci.yaml\">\n",
|
||||
" <img src=\"https://github.com/ultralytics/hub/actions/workflows/ci.yaml/badge.svg\" alt=\"CI CPU\"></a>\n",
|
||||
" <a href=\"https://colab.research.google.com/github/ultralytics/hub/blob/master/hub.ipynb\">\n",
|
||||
" <a href=\"https://colab.research.google.com/github/ultralytics/hub/blob/main/hub.ipynb\">\n",
|
||||
" <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"></a>\n",
|
||||
"\n",
|
||||
"Welcome to the [Ultralytics](https://ultralytics.com/) HUB notebook!\n",
|
||||
"\n",
|
||||
"This notebook allows you to train [YOLOv5](https://github.com/ultralytics/yolov5) and [YOLOv8](https://github.com/ultralytics/ultralytics) 🚀 models using [HUB](https://hub.ultralytics.com/). Please browse the HUB <a href=\"https://docs.ultralytics.com/hub/\">Docs</a> for details, raise an issue on <a href=\"https://github.com/ultralytics/hub/issues/new/choose\">GitHub</a> for support, and join our <a href=\"https://ultralytics.com/discord\">Discord</a> community for questions and discussions!\n",
|
||||
"This notebook allows you to train Ultralytics [YOLO](https://github.com/ultralytics/ultralytics) 🚀 models using [HUB](https://hub.ultralytics.com/). Please browse the HUB <a href=\"https://docs.ultralytics.com/hub/\">Docs</a> for details, raise an issue on <a href=\"https://github.com/ultralytics/hub/issues/new/choose\">GitHub</a> for support, and join our <a href=\"https://ultralytics.com/discord\">Discord</a> community for questions and discussions!\n",
|
||||
"</div>"
|
||||
]
|
||||
},
|
||||
|
|
@ -58,21 +58,21 @@
|
|||
"colab": {
|
||||
"base_uri": "https://localhost:8080/"
|
||||
},
|
||||
"outputId": "01e34b44-a26f-4dbc-a5a1-6e29bca01a1b"
|
||||
"outputId": "824edff2-510a-4575-c749-396dafb36a47"
|
||||
},
|
||||
"source": [
|
||||
"%pip install ultralytics # install\n",
|
||||
"from ultralytics import YOLO, checks, hub\n",
|
||||
"checks() # checks"
|
||||
],
|
||||
"execution_count": null,
|
||||
"execution_count": 1,
|
||||
"outputs": [
|
||||
{
|
||||
"output_type": "stream",
|
||||
"name": "stderr",
|
||||
"name": "stdout",
|
||||
"text": [
|
||||
"Ultralytics YOLOv8.0.210 🚀 Python-3.10.12 torch-2.0.1+cu118 CUDA:0 (Tesla T4, 15102MiB)\n",
|
||||
"Setup complete ✅ (2 CPUs, 12.7 GB RAM, 24.4/78.2 GB disk)\n"
|
||||
"Ultralytics YOLOv8.1.47 🚀 Python-3.10.12 torch-2.2.1+cu121 CUDA:0 (Tesla T4, 15102MiB)\n",
|
||||
"Setup complete ✅ (2 CPUs, 12.7 GB RAM, 29.0/78.2 GB disk)\n"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
@ -96,11 +96,11 @@
|
|||
"source": [
|
||||
"hub.login('API_KEY') # use your API key\n",
|
||||
"\n",
|
||||
"model = YOLO('https://hub.ultralytics.com/MODEL_ID') # use your model URL\n",
|
||||
"model = YOLO('https://hub.ultralytics.com/models/MODEL_ID') # use your model URL\n",
|
||||
"results = model.train() # train model"
|
||||
],
|
||||
"execution_count": null,
|
||||
"outputs": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue