nielsr HF staff commited on
Commit
078141e
1 Parent(s): 3ce1f4e

Add code snippet regarding push to hub

Browse files
Files changed (1) hide show
  1. README.md +3 -0
README.md CHANGED
@@ -29,6 +29,9 @@ IMAGE_PATH = 'dog.jpeg'
29
 
30
  model = YOLOv10.from_pretrained('jameslahm/yolov10s')
31
  model.predict(IMAGE_PATH, show=True)
 
 
 
32
  ```
33
 
34
  ### BibTeX Entry and Citation Info
 
29
 
30
  model = YOLOv10.from_pretrained('jameslahm/yolov10s')
31
  model.predict(IMAGE_PATH, show=True)
32
+
33
+ # after training, one can push to the hub
34
+ model.push_to_hub("your-hf-username/yolov10-finetuned")
35
  ```
36
 
37
  ### BibTeX Entry and Citation Info