mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-23 05:24:22 +08:00
Created using Colaboratory
This commit is contained in:
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…
x
Reference in New Issue
Block a user