jameslahm nielsr HF staff commited on
Commit
5ef34f6
1 Parent(s): 3ce1f4e

Add code snippet regarding push to hub (#1)

Browse files

- Add code snippet regarding push to hub (078141ee134dbd082805e648d9217a2a365c59ac)


Co-authored-by: Niels Rogge <[email protected]>

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