lemon3853 commited on
Commit
c65e791
1 Parent(s): 831aa9e

Push model using huggingface_hub.

Browse files
Files changed (3) hide show
  1. README.md +62 -0
  2. config.json +158 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets:
3
+ - detection-datasets/coco
4
+ library_name: ultralytics
5
+ license: agpl-3.0
6
+ tags:
7
+ - object-detection
8
+ - computer-vision
9
+ - yolov10
10
+ repo_url: https://github.com/THU-MIG/yolov10
11
+ inference: false
12
+ ---
13
+
14
+ ### Model Description
15
+ [YOLOv10: Real-Time End-to-End Object Detection](https://arxiv.org/abs/2405.14458v1)
16
+
17
+ - arXiv: https://arxiv.org/abs/2405.14458v1
18
+ - github: https://github.com/THU-MIG/yolov10
19
+
20
+ ### Installation
21
+ ```
22
+ pip install git+https://github.com/THU-MIG/yolov10.git
23
+ ```
24
+
25
+ ### Training and validation
26
+ ```python
27
+ from ultralytics import YOLOv10
28
+
29
+ model = YOLOv10.from_pretrained('jameslahm/yolov10n')
30
+ # Training
31
+ model.train(...)
32
+ # after training, one can push to the hub
33
+ model.push_to_hub("your-hf-username/yolov10-finetuned")
34
+
35
+ # Validation
36
+ model.val(...)
37
+ ```
38
+
39
+ ### Inference
40
+
41
+ Here's an end-to-end example showcasing inference on a cats image:
42
+
43
+ ```python
44
+ from ultralytics import YOLOv10
45
+
46
+ model = YOLOv10.from_pretrained('jameslahm/yolov10n')
47
+ source = 'http://images.cocodataset.org/val2017/000000039769.jpg'
48
+ model.predict(source=source, save=True)
49
+ ```
50
+ which shows:
51
+
52
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/628ece6054698ce61d1e7be3/tBwAsKcQA_96HCYQp7BRr.png)
53
+
54
+ ### BibTeX Entry and Citation Info
55
+ ```
56
+ @article{wang2024yolov10,
57
+ title={YOLOv10: Real-Time End-to-End Object Detection},
58
+ author={Wang, Ao and Chen, Hui and Liu, Lihao and Chen, Kai and Lin, Zijia and Han, Jungong and Ding, Guiguang},
59
+ journal={arXiv preprint arXiv:2405.14458},
60
+ year={2024}
61
+ }
62
+ ```
config.json ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "yolov10s.yaml",
3
+ "names": {
4
+ "0": "93_\u7eff\u8c46\u82bd",
5
+ "1": "88_\u7ea2\u83dc\u82d4",
6
+ "2": "86_\u5305\u83dc",
7
+ "3": "85_\u5c0f\u53f0\u8292",
8
+ "4": "84_\u6d77\u9c9c\u83c7",
9
+ "5": "80_\u51ac\u74dc",
10
+ "6": "7_\u5c0f\u767d\u83dc",
11
+ "7": "79_\u7ea2\u82cb\u83dc",
12
+ "8": "732_\u535a\u6d0b\u871c\u74dc",
13
+ "9": "731_\u6c34\u679c\u9ec4\u74dc",
14
+ "10": "726_\u4ed4\u59dc",
15
+ "11": "724_\u7ea2\u76ae\u9999\u8549",
16
+ "12": "716_\u9ec4\u76ae\u6d0b\u8471",
17
+ "13": "70_\u7af9\u53f6\u83dc",
18
+ "14": "69_\u97ed\u9ec4",
19
+ "15": "697_\u7ea2\u8c46",
20
+ "16": "688_\u957f\u5bff\u4ec1",
21
+ "17": "66_\u7ea2\u85af",
22
+ "18": "64_\u7ebf\u6912",
23
+ "19": "61_\u897f\u5170\u82b1",
24
+ "20": "5_\u9e7f\u8338\u83c7",
25
+ "21": "587_\u7f8a\u89d2\u871c\u74dc",
26
+ "22": "585_\u6bdb\u8c46\u7c73",
27
+ "23": "584_\u7cef\u7389\u7c73",
28
+ "24": "578_\u5927\u767d\u83dc\u79e7",
29
+ "25": "575_\u8695\u8c46\u7c73",
30
+ "26": "572_\u8304\u5b50",
31
+ "27": "571_\u5706\u8304\u5b50",
32
+ "28": "567_\u5e1d\u738b\u8549",
33
+ "29": "566_\u5c0f\u5357\u74dc",
34
+ "30": "564_\u6bdb\u767d\u83dc",
35
+ "31": "562_\u6d77\u5e26\u5377",
36
+ "32": "55_\u9752\u6897\u82b1\u83dc",
37
+ "33": "519_\u7eff\u8c46",
38
+ "34": "517_\u7ea2\u67a3",
39
+ "35": "50_\u6c64\u83dc",
40
+ "36": "503_\u7070\u67a3",
41
+ "37": "4_\u8106\u674e",
42
+ "38": "46_\u9999\u68a8",
43
+ "39": "458_\u6c83\u67d1",
44
+ "40": "457_\u8695\u8c46",
45
+ "41": "451_\u9ed1\u6728\u8033",
46
+ "42": "44_\u87ba\u4e1d\u6912",
47
+ "43": "448_\u91d1\u9488\u83c7",
48
+ "44": "446_\u674f\u9c8d\u83c7",
49
+ "45": "442_\u846b\u82a6",
50
+ "46": "439_\u5c0f\u83e0\u841d",
51
+ "47": "432_\u6cb9\u6843",
52
+ "48": "430_\u897f\u74dc",
53
+ "49": "417_\u9999\u74dc",
54
+ "50": "415_\u866b\u8349\u83c7",
55
+ "51": "412_\u9752\u6912",
56
+ "52": "410_\u7687\u51a0\u68a8",
57
+ "53": "406_\u9633\u5149\u73ab\u7470",
58
+ "54": "401_\u8461\u8404",
59
+ "55": "39_\u5706\u6912",
60
+ "56": "397_\u5927\u8471",
61
+ "57": "396_\u751f\u83dc",
62
+ "58": "390_\u676d\u6912",
63
+ "59": "38_\u9ec4\u91d1\u5e05",
64
+ "60": "387_\u7ea2\u6bdb\u4e39",
65
+ "61": "385_\u69b4\u83b2",
66
+ "62": "382_\u849c\u82d4",
67
+ "63": "370_\u7d2b\u7518\u84dd",
68
+ "64": "36_\u751f\u59dc",
69
+ "65": "367_\u897f\u82b9",
70
+ "66": "360_\u4e1d\u74dc",
71
+ "67": "356_\u74e0\u5b50",
72
+ "68": "354_\u6843\u5b50",
73
+ "69": "352_\u5c71\u836f",
74
+ "70": "348_\u9999\u83c7",
75
+ "71": "346_\u767d\u871c\u74dc",
76
+ "72": "344_\u897f\u7ea2\u67ff",
77
+ "73": "340_\u571f\u8c46",
78
+ "74": "33_\u83e0\u841d\u871c",
79
+ "75": "337_\u4eba\u53c2\u679c",
80
+ "76": "332_\u85d5\u5e26",
81
+ "77": "330_\u7389\u7c73",
82
+ "78": "326_\u7ea2\u63d0",
83
+ "79": "323_\u9e21\u7ba1",
84
+ "80": "31_\u6728\u74dc",
85
+ "81": "319_\u5e73\u83c7",
86
+ "82": "315_\u7ea2\u841d\u535c",
87
+ "83": "310_\u6a31\u6843",
88
+ "84": "305_\u6bdb\u8c46",
89
+ "85": "302_\u67da\u5b50",
90
+ "86": "300_\u82e6\u83ca",
91
+ "87": "297_\u9ec4\u6843",
92
+ "88": "290_\u9752\u63d0",
93
+ "89": "288_\u5357\u74dc",
94
+ "90": "280_\u6cb9\u9ea6\u83dc",
95
+ "91": "277_\u6d77\u5e26\u7ed3",
96
+ "92": "276_\u6d0b\u8471",
97
+ "93": "275_\u9ec4\u8c46\u82bd",
98
+ "94": "271_\u79cb\u8475",
99
+ "95": "26_\u767d\u7389\u83c7",
100
+ "96": "268_\u7eff\u5b9d\u74dc",
101
+ "97": "263_\u59ec\u83c7",
102
+ "98": "261_\u82b9\u83dc",
103
+ "99": "255_\u82b1\u751f\u7c73",
104
+ "100": "248_\u9ec4\u74dc",
105
+ "101": "241_\u5c0f\u8471",
106
+ "102": "23_\u53e3\u8611",
107
+ "103": "237_\u5343\u79a7\u679c",
108
+ "104": "235_\u65f1\u74dc",
109
+ "105": "22_\u6842\u5706",
110
+ "106": "229_\u5e7f\u4e1c\u83dc\u5fc3",
111
+ "107": "224_\u7ea2\u76ae\u841d\u535c",
112
+ "108": "216_\u9999\u83dc",
113
+ "109": "214_\u8346\u82a5",
114
+ "110": "208_\u7687\u5e1d\u8549",
115
+ "111": "206_\u767d\u82cb\u83dc",
116
+ "112": "205_\u97ed\u83dc",
117
+ "113": "204_\u67e0\u6aac",
118
+ "114": "201_\u706b\u9f99\u679c",
119
+ "115": "200_\u5c0f\u7c73\u6912",
120
+ "116": "1_\u8c4c\u8c46",
121
+ "117": "19_\u6a59\u5b50",
122
+ "118": "194_\u849c\u5934",
123
+ "119": "191_\u6768\u6885",
124
+ "120": "189_\u85af\u5c16",
125
+ "121": "187_\u82f9\u679c",
126
+ "122": "183_\u849c\u82d7",
127
+ "123": "180_\u8354\u679d",
128
+ "124": "179_\u9c9c\u82b1\u751f",
129
+ "125": "173_\u8292\u679c",
130
+ "126": "172_\u8c47\u8c46",
131
+ "127": "171_\u5c71\u7af9",
132
+ "128": "16_\u8019\u8019\u67d1",
133
+ "129": "165_\u56db\u5b63\u8c46",
134
+ "130": "163_\u5927\u767d\u83dc",
135
+ "131": "160_\u83e0\u83dc",
136
+ "132": "159_\u7315\u7334\u6843",
137
+ "133": "158_\u6241\u8c46",
138
+ "134": "157_\u9ec4\u8c46",
139
+ "135": "155_\u84dd\u8393",
140
+ "136": "153_\u5a03\u5a03\u83dc",
141
+ "137": "150_\u8349\u8393",
142
+ "138": "149_\u767d\u841d\u535c",
143
+ "139": "147_\u83e0\u841d",
144
+ "140": "145_\u83b2\u85d5",
145
+ "141": "141_\u9ed1\u5e03\u6797",
146
+ "142": "138_\u4e30\u6c34\u68a8",
147
+ "143": "136_\u7ea2\u6912",
148
+ "144": "134_\u8377\u5170\u8c46",
149
+ "145": "132_\u83b4\u82e3",
150
+ "146": "127_\u871c\u74dc",
151
+ "147": "124_\u9999\u8549",
152
+ "148": "117_\u6c34\u871c\u6843",
153
+ "149": "111_\u82e6\u74dc",
154
+ "150": "106_\u9f99\u773c",
155
+ "151": "103_\u7bd9\u82de"
156
+ },
157
+ "task": "detect"
158
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a5339910ac8dbe2fdb426e52faa5931c4a0a7fba9ee25ac3789c7c561b7f409
3
+ size 32969680