Created using Colaboratory

single_channel
Glenn Jocher 2 years ago
parent 3cc63950f3
commit a8a70390ab

@ -84,9 +84,7 @@
"source": [
"# Git clone method (for development)\n",
"!git clone https://github.com/ultralytics/ultralytics\n",
"%pip install -e ultralytics\n",
"import ultralytics\n",
"ultralytics.checks()"
"%pip install -qe ultralytics"
],
"metadata": {
"id": "TUFPge7f_1ms"
@ -544,7 +542,7 @@
"results = model.train(data='coco128.yaml', epochs=3) # train the model\n",
"results = model.val(data='coco128.yaml') # evaluate model performance on the validation set\n",
"results = model.predict(source='https://ultralytics.com/images/bus.jpg') # predict on an image\n",
"success = model.export(format='onnx') # export the model to ONNX format"
"success = YOLO('yolov8n.pt').export(format='onnx') # export a model to ONNX format"
],
"metadata": {
"id": "bpF9-vS_DAaf"

Loading…
Cancel
Save