Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

welcome.html 51 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
  1. <!DOCTYPE html>
  2. <html class="writer-html5" lang="en" >
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>Version 3 is out! Notebooks have been updated! &mdash; SuperGradients 3.0.3 documentation</title>
  7. <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
  8. <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  9. <link rel="stylesheet" href="_static/graphviz.css" type="text/css" />
  10. <link rel="stylesheet" href="_static/custom.css" type="text/css" />
  11. <!--[if lt IE 9]>
  12. <script src="_static/js/html5shiv.min.js"></script>
  13. <![endif]-->
  14. <script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
  15. <script src="_static/jquery.js"></script>
  16. <script src="_static/underscore.js"></script>
  17. <script src="_static/_sphinx_javascript_frameworks_compat.js"></script>
  18. <script src="_static/doctools.js"></script>
  19. <script src="_static/sphinx_highlight.js"></script>
  20. <script src="_static/js/theme.js"></script>
  21. <link rel="index" title="Index" href="genindex.html" />
  22. <link rel="search" title="Search" href="search.html" />
  23. <link rel="next" title="Common package" href="super_gradients.common.html" />
  24. <link rel="prev" title="Welcome to SuperGradients’s documentation!" href="index.html" />
  25. </head>
  26. <body class="wy-body-for-nav">
  27. <div class="wy-grid-for-nav">
  28. <nav data-toggle="wy-nav-shift" class="wy-nav-side">
  29. <div class="wy-side-scroll">
  30. <div class="wy-side-nav-search" >
  31. <a href="index.html" class="icon icon-home"> SuperGradients
  32. </a>
  33. <div role="search">
  34. <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
  35. <input type="text" name="q" placeholder="Search docs" />
  36. <input type="hidden" name="check_keywords" value="yes" />
  37. <input type="hidden" name="area" value="default" />
  38. </form>
  39. </div>
  40. </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
  41. <p class="caption" role="heading"><span class="caption-text">Welcome To SuperGradients</span></p>
  42. <ul class="current">
  43. <li class="toctree-l1 current"><a class="current reference internal" href="#">Version 3 is out! Notebooks have been updated!</a></li>
  44. <li class="toctree-l1"><a class="reference internal" href="#build-with-supergradients">Build with SuperGradients</a><ul>
  45. <li class="toctree-l2"><a class="reference internal" href="#support-various-computer-vision-tasks">Support various computer vision tasks</a></li>
  46. <li class="toctree-l2"><a class="reference internal" href="#ready-to-deploy-pre-trained-sota-models">Ready to deploy pre-trained SOTA models</a><ul>
  47. <li class="toctree-l3"><a class="reference internal" href="#classification">Classification</a></li>
  48. <li class="toctree-l3"><a class="reference internal" href="#semantic-segmentation">Semantic Segmentation</a></li>
  49. <li class="toctree-l3"><a class="reference internal" href="#object-detection">Object Detection</a></li>
  50. </ul>
  51. </li>
  52. <li class="toctree-l2"><a class="reference internal" href="#easy-to-train-sota-models">Easy to train SOTA Models</a></li>
  53. <li class="toctree-l2"><a class="reference internal" href="#plug-and-play-recipes">Plug and play recipes</a></li>
  54. <li class="toctree-l2"><a class="reference internal" href="#production-readiness">Production readiness</a></li>
  55. </ul>
  56. </li>
  57. <li class="toctree-l1"><a class="reference internal" href="#quick-installation">Quick Installation</a></li>
  58. <li class="toctree-l1"><a class="reference internal" href="#what-s-new">What’s New</a></li>
  59. <li class="toctree-l1"><a class="reference internal" href="#coming-soon">Coming soon</a></li>
  60. <li class="toctree-l1"><a class="reference internal" href="#table-of-content">Table of Content</a></li>
  61. <li class="toctree-l1"><a class="reference internal" href="#getting-started">Getting Started</a><ul>
  62. <li class="toctree-l2"><a class="reference internal" href="#start-training-with-just-1-command-line">Start Training with Just 1 Command Line</a></li>
  63. <li class="toctree-l2"><a class="reference internal" href="#quickly-load-pre-trained-weights-for-your-desired-model-with-sota-performance">Quickly Load Pre-Trained Weights for Your Desired Model with SOTA Performance</a></li>
  64. <li class="toctree-l2"><a class="reference internal" href="#id1">Classification</a><ul>
  65. <li class="toctree-l3"><a class="reference internal" href="#transfer-learning">Transfer Learning</a></li>
  66. </ul>
  67. </li>
  68. <li class="toctree-l2"><a class="reference internal" href="#id2">Semantic Segmentation</a><ul>
  69. <li class="toctree-l3"><a class="reference internal" href="#quick-start">Quick Start</a></li>
  70. <li class="toctree-l3"><a class="reference internal" href="#id3">Transfer Learning</a></li>
  71. <li class="toctree-l3"><a class="reference internal" href="#how-to-connect-custom-dataset">How to Connect Custom Dataset</a></li>
  72. </ul>
  73. </li>
  74. <li class="toctree-l2"><a class="reference internal" href="#id4">Object Detection</a><ul>
  75. <li class="toctree-l3"><a class="reference internal" href="#id5">Transfer Learning</a></li>
  76. <li class="toctree-l3"><a class="reference internal" href="#id6">How to Connect Custom Dataset</a></li>
  77. </ul>
  78. </li>
  79. <li class="toctree-l2"><a class="reference internal" href="#how-to-predict-using-pre-trained-model">How to Predict Using Pre-trained Model</a><ul>
  80. <li class="toctree-l3"><a class="reference internal" href="#segmentation-detection-and-classification-prediction">Segmentation, Detection and Classification Prediction</a></li>
  81. </ul>
  82. </li>
  83. </ul>
  84. </li>
  85. <li class="toctree-l1"><a class="reference internal" href="#advanced-features">Advanced Features</a><ul>
  86. <li class="toctree-l2"><a class="reference internal" href="#knowledge-distillation-training">Knowledge Distillation Training</a></li>
  87. <li class="toctree-l2"><a class="reference internal" href="#recipes">Recipes</a></li>
  88. <li class="toctree-l2"><a class="reference internal" href="#using-ddp">Using DDP</a></li>
  89. <li class="toctree-l2"><a class="reference internal" href="#easily-change-architectures-parameters">Easily change architectures parameters</a></li>
  90. <li class="toctree-l2"><a class="reference internal" href="#using-phase-callbacks">Using phase callbacks</a></li>
  91. <li class="toctree-l2"><a class="reference internal" href="#integration-to-weights-and-biases">Integration to Weights and Biases</a></li>
  92. </ul>
  93. </li>
  94. <li class="toctree-l1"><a class="reference internal" href="#installation-methods">Installation Methods</a><ul>
  95. <li class="toctree-l2"><a class="reference internal" href="#prerequisites">Prerequisites</a></li>
  96. <li class="toctree-l2"><a class="reference internal" href="#id7">Quick Installation</a></li>
  97. </ul>
  98. </li>
  99. <li class="toctree-l1"><a class="reference internal" href="#implemented-model-architectures">Implemented Model Architectures</a><ul>
  100. <li class="toctree-l2"><a class="reference internal" href="#image-classification">Image Classification</a></li>
  101. <li class="toctree-l2"><a class="reference internal" href="#id8">Semantic Segmentation</a></li>
  102. <li class="toctree-l2"><a class="reference internal" href="#id9">Object Detection</a></li>
  103. </ul>
  104. </li>
  105. <li class="toctree-l1"><a class="reference internal" href="#documentation">Documentation</a></li>
  106. <li class="toctree-l1"><a class="reference internal" href="#contributing">Contributing</a></li>
  107. <li class="toctree-l1"><a class="reference internal" href="#citation">Citation</a></li>
  108. <li class="toctree-l1"><a class="reference internal" href="#community">Community</a></li>
  109. <li class="toctree-l1"><a class="reference internal" href="#license">License</a></li>
  110. <li class="toctree-l1"><a class="reference internal" href="#deci-platform">Deci Platform</a></li>
  111. </ul>
  112. <p class="caption" role="heading"><span class="caption-text">Technical Documentation</span></p>
  113. <ul>
  114. <li class="toctree-l1"><a class="reference internal" href="super_gradients.common.html">Common package</a></li>
  115. <li class="toctree-l1"><a class="reference internal" href="super_gradients.training.html">Training package</a></li>
  116. </ul>
  117. </div>
  118. </div>
  119. </nav>
  120. <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
  121. <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
  122. <a href="index.html">SuperGradients</a>
  123. </nav>
  124. <div class="wy-nav-content">
  125. <div class="rst-content">
  126. <div role="navigation" aria-label="Page navigation">
  127. <ul class="wy-breadcrumbs">
  128. <li><a href="index.html" class="icon icon-home"></a> &raquo;</li>
  129. <li>Version 3 is out! Notebooks have been updated!</li>
  130. <li class="wy-breadcrumbs-aside">
  131. <a href="_sources/welcome.md.txt" rel="nofollow"> View page source</a>
  132. </li>
  133. </ul>
  134. <hr/>
  135. </div>
  136. <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
  137. <div itemprop="articleBody">
  138. <div align="center">
  139. <img src="assets/SG_img/SG - Horizontal Glow 2.png" width="600"/>
  140. <br/><br/>
  141. <p><strong>Build, train, and fine-tune production-ready deep learning SOTA vision models</strong>
  142. <a class="reference external" href="https://twitter.com/intent/tweet?text=Easily%20train%20or%20fine-tune%20SOTA%20computer%20vision%20models%20from%20one%20training%20repository&amp;url=https://github.com/Deci-AI/super-gradients&amp;via=deci_ai&amp;hashtags=AI,deeplearning,computervision,training,opensource"><img alt="Tweet" src="https://img.shields.io/twitter/url/http/shields.io.svg?style=social" /></a></p>
  143. <div class="section" id="version-3-is-out-notebooks-have-been-updated">
  144. <h1>Version 3 is out! Notebooks have been updated!<a class="headerlink" href="#version-3-is-out-notebooks-have-been-updated" title="Permalink to this heading"></a></h1>
  145. <hr class="docutils" />
  146. <p align="center">
  147. <a href="https://www.supergradients.com/">Website</a> •
  148. <a href="https://deci-ai.github.io/super-gradients/user_guide.html#introducing-the-supergradients-library">User Guide</a> •
  149. <a href="https://deci-ai.github.io/super-gradients/super_gradients.common.html">Docs</a> •
  150. <a href="#getting-started">Getting Started</a> •
  151. <a href="#implemented-model-architectures">Pretrained Models</a> •
  152. <a href="#community">Community</a> •
  153. <a href="#license">License</a> •
  154. <a href="#deci-platform">Deci Platform</a>
  155. </p>
  156. <p align="center">
  157. <a href="https://github.com/Deci-AI/super-gradients#prerequisites"><img src="https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9-blue" />
  158. <a href="https://github.com/Deci-AI/super-gradients#prerequisites"><img src="https://img.shields.io/badge/pytorch-1.9%20%7C%201.10-blue" />
  159. <a href="https://pypi.org/project/super-gradients/"><img src="https://img.shields.io/pypi/v/super-gradients" />
  160. <a href="https://github.com/Deci-AI/super-gradients#computer-vision-models-pretrained-checkpoints" ><img src="https://img.shields.io/badge/pre--trained%20models-34-brightgreen" />
  161. <a href="https://github.com/Deci-AI/super-gradients/releases"><img src="https://img.shields.io/github/v/release/Deci-AI/super-gradients" />
  162. <a href="https://join.slack.com/t/supergradients-comm52/shared_invite/zt-10vz6o1ia-b_0W5jEPEnuHXm087K~t8Q"><img src="https://img.shields.io/badge/slack-community-blueviolet" />
  163. <a href="https://github.com/Deci-AI/super-gradients/blob/master/LICENSE.md"><img src="https://img.shields.io/badge/license-Apache%202.0-blue" />
  164. <a href="https://deci-ai.github.io/super-gradients/welcome.html"><img src="https://img.shields.io/badge/docs-sphinx-brightgreen" />
  165. </p>
  166. </div>
  167. <p><a class="reference external" href="https://deci-ai.github.io/super-gradients/user_guide.html#introducing-the-supergradients-library"></a></p>
  168. </div>
  169. <div class="section" id="build-with-supergradients">
  170. <h1>Build with SuperGradients<a class="headerlink" href="#build-with-supergradients" title="Permalink to this heading"></a></h1>
  171. <hr class="docutils" />
  172. <div class="section" id="support-various-computer-vision-tasks">
  173. <h2>Support various computer vision tasks<a class="headerlink" href="#support-various-computer-vision-tasks" title="Permalink to this heading"></a></h2>
  174. <div align="center">
  175. <img src="./assets/SG_img/Segmentation 1500x900 .png" width="250px">
  176. <img src="./assets/SG_img/Object detection 1500X900.png" width="250px">
  177. <img src="./assets/SG_img/Classification 1500x900.png" width="250px">
  178. </div>
  179. </div>
  180. <div class="section" id="ready-to-deploy-pre-trained-sota-models">
  181. <h2>Ready to deploy pre-trained SOTA models<a class="headerlink" href="#ready-to-deploy-pre-trained-sota-models" title="Permalink to this heading"></a></h2>
  182. <div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="c1"># Load model with pretrained weights</span>
  183. <span class="n">model</span> <span class="o">=</span> <span class="n">models</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s2">&quot;yolox_s&quot;</span><span class="p">,</span> <span class="n">pretrained_weights</span><span class="o">=</span><span class="s2">&quot;coco&quot;</span><span class="p">)</span>
  184. </pre></div>
  185. </div>
  186. <div class="section" id="classification">
  187. <h3>Classification<a class="headerlink" href="#classification" title="Permalink to this heading"></a></h3>
  188. <div align="center">
  189. <img src="./assets/SG_img/Classification@2xDark.png" width="800px">
  190. </div>
  191. </div>
  192. <div class="section" id="semantic-segmentation">
  193. <h3>Semantic Segmentation<a class="headerlink" href="#semantic-segmentation" title="Permalink to this heading"></a></h3>
  194. <div align="center">
  195. <img src="./assets/SG_img/Semantic Segmentation@2xDark.png" width="800px">
  196. </div>
  197. </div>
  198. <div class="section" id="object-detection">
  199. <h3>Object Detection<a class="headerlink" href="#object-detection" title="Permalink to this heading"></a></h3>
  200. <div align="center">
  201. <img src="./assets/SG_img/Object Detection@2xDark.png" width="800px">
  202. </div>
  203. <p>All Computer Vision Models - Pretrained Checkpoints can be found <span class="xref myst">here</span></p>
  204. </div>
  205. </div>
  206. <div class="section" id="easy-to-train-sota-models">
  207. <h2>Easy to train SOTA Models<a class="headerlink" href="#easy-to-train-sota-models" title="Permalink to this heading"></a></h2>
  208. <p>Easily load and fine-tune production-ready, pre-trained SOTA models that incorporate best practices and validated hyper-parameters for achieving best-in-class accuracy.
  209. For more information on how to do it go to <span class="xref myst">Getting Started</span></p>
  210. </div>
  211. <div class="section" id="plug-and-play-recipes">
  212. <h2>Plug and play recipes<a class="headerlink" href="#plug-and-play-recipes" title="Permalink to this heading"></a></h2>
  213. <div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">python</span> <span class="o">-</span><span class="n">m</span> <span class="n">super_gradients</span><span class="o">.</span><span class="n">train_from_recipe</span> <span class="o">--</span><span class="n">config</span><span class="o">-</span><span class="n">name</span><span class="o">=</span><span class="n">imagenet_regnetY</span> <span class="n">architecture</span><span class="o">=</span><span class="n">regnetY800</span> <span class="n">dataset_interface</span><span class="o">.</span><span class="n">data_dir</span><span class="o">=&lt;</span><span class="n">YOUR_Imagenet_LOCAL_PATH</span><span class="o">&gt;</span> <span class="n">ckpt_root_dir</span><span class="o">=&lt;</span><span class="n">CHEKPOINT_DIRECTORY</span><span class="o">&gt;</span>
  214. </pre></div>
  215. </div>
  216. <p>More example on how and why to use recipes can be found in <span class="xref myst">Recipes</span></p>
  217. </div>
  218. <div class="section" id="production-readiness">
  219. <h2>Production readiness<a class="headerlink" href="#production-readiness" title="Permalink to this heading"></a></h2>
  220. <p>All SuperGradients models’ are production ready in the sense that they are compatible with deployment tools such as TensorRT (Nvidia) and OpenVINO (Intel) and can be easily taken into production. With a few lines of code you can easily integrate the models into your codebase.</p>
  221. <div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="c1"># Load model with pretrained weights</span>
  222. <span class="n">model</span> <span class="o">=</span> <span class="n">models</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s2">&quot;yolox_s&quot;</span><span class="p">,</span> <span class="n">pretrained_weights</span><span class="o">=</span><span class="s2">&quot;coco&quot;</span><span class="p">)</span>
  223. <span class="c1"># Prepare model for conversion</span>
  224. <span class="c1"># Input size is in format of [Batch x Channels x Width x Height] where 640 is the standart COCO dataset dimensions</span>
  225. <span class="n">model</span><span class="o">.</span><span class="n">eval</span><span class="p">()</span>
  226. <span class="n">model</span><span class="o">.</span><span class="n">prep_model_for_conversion</span><span class="p">(</span><span class="n">input_size</span><span class="o">=</span><span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">3</span><span class="p">,</span> <span class="mi">640</span><span class="p">,</span> <span class="mi">640</span><span class="p">])</span>
  227. <span class="c1"># Create dummy_input</span>
  228. <span class="c1"># Convert model to onnx</span>
  229. <span class="n">torch</span><span class="o">.</span><span class="n">onnx</span><span class="o">.</span><span class="n">export</span><span class="p">(</span><span class="n">model</span><span class="p">,</span> <span class="n">dummy_input</span><span class="p">,</span> <span class="s2">&quot;yolox_s.onnx&quot;</span><span class="p">)</span>
  230. </pre></div>
  231. </div>
  232. <p>More information on how to take your model to production can be found in <span class="xref myst">Getting Started</span> notebooks</p>
  233. </div>
  234. </div>
  235. <div class="section" id="quick-installation">
  236. <h1>Quick Installation<a class="headerlink" href="#quick-installation" title="Permalink to this heading"></a></h1>
  237. <hr class="docutils" />
  238. <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>pip install super-gradients
  239. </pre></div>
  240. </div>
  241. </div>
  242. <div class="section" id="what-s-new">
  243. <h1>What’s New<a class="headerlink" href="#what-s-new" title="Permalink to this heading"></a></h1>
  244. <hr class="docutils" />
  245. <ul class="simple">
  246. <li><p>【06/9/2022】 PP-LiteSeg - new pre-trained <span class="xref myst">checkpoints</span> for Cityscapes with SOTA mIoU scores (~1.5% above paper)🎯</p></li>
  247. <li><p>【07/08/2022】DDRNet23 - new pre-trained <span class="xref myst">checkpoints</span> and <a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/recipes">recipes</a> for Cityscapes with SOTA mIoU scores (~1% above paper)🎯</p></li>
  248. <li><p>【27/07/2022】YOLOX models (object detection) - recipes and pre-trained checkpoints.</p></li>
  249. <li><p>【07/07/2022】SSD Lite MobileNet V2,V1 - Training <a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/recipes/coco_ssd_lite_mobilenet_v2.yaml">recipes</a> and pre-trained <span class="xref myst">checkpoints</span> on COCO - Tailored for edge devices! 📱</p></li>
  250. <li><p>【07/07/2022】 STDC - new pre-trained <span class="xref myst">checkpoints</span> and <a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/recipes">recipes</a> for Cityscapes with super SOTA mIoU scores (~2.5% above paper)🎯</p></li>
  251. </ul>
  252. <p>Check out SG full <a class="reference external" href="https://github.com/Deci-AI/super-gradients/releases">release notes</a>.</p>
  253. </div>
  254. <div class="section" id="coming-soon">
  255. <h1>Coming soon<a class="headerlink" href="#coming-soon" title="Permalink to this heading"></a></h1>
  256. <hr class="docutils" />
  257. <ul class="simple">
  258. <li><p>[ ] PP-LiteSeg recipes for Cityscapes with SOTA mIoU scores (~1.5% above paper)🎯</p></li>
  259. <li><p>[ ] Single class detectors (recipes, pre-trained checkpoints) for edge devices deployment.</p></li>
  260. <li><p>[ ] Single class segmentation (recipes, pre-trained checkpoints) for edge devices deployment.</p></li>
  261. <li><p>[ ] QAT capabilities (Quantization Aware Training).</p></li>
  262. <li><p>[ ] Integration with more professional tools.</p></li>
  263. </ul>
  264. </div>
  265. <div class="section" id="table-of-content">
  266. <h1>Table of Content<a class="headerlink" href="#table-of-content" title="Permalink to this heading"></a></h1>
  267. <hr class="docutils" />
  268. <!-- toc -->
  269. <ul class="simple">
  270. <li><p><span class="xref myst">Getting Started</span></p></li>
  271. <li><p><span class="xref myst">Advanced Features</span></p></li>
  272. <li><p><span class="xref myst">Installation Methods</span></p>
  273. <ul>
  274. <li><p><span class="xref myst">Prerequisites</span></p></li>
  275. <li><p><span class="xref myst">Quick Installation</span></p></li>
  276. </ul>
  277. </li>
  278. <li><p><span class="xref myst">Implemented Model Architectures</span></p></li>
  279. <li><p><span class="xref myst">Contributing</span></p></li>
  280. <li><p><span class="xref myst">Citation</span></p></li>
  281. <li><p><span class="xref myst">Community</span></p></li>
  282. <li><p><span class="xref myst">License</span></p></li>
  283. <li><p><span class="xref myst">Deci Platform</span></p></li>
  284. </ul>
  285. <!-- tocstop -->
  286. </div>
  287. <div class="section" id="getting-started">
  288. <h1>Getting Started<a class="headerlink" href="#getting-started" title="Permalink to this heading"></a></h1>
  289. <hr class="docutils" />
  290. <div class="section" id="start-training-with-just-1-command-line">
  291. <h2>Start Training with Just 1 Command Line<a class="headerlink" href="#start-training-with-just-1-command-line" title="Permalink to this heading"></a></h2>
  292. <p>The most simple and straightforward way to start training SOTA performance models with SuperGradients reproducible recipes. Just define your dataset path and where you want your checkpoints to be saved and you are good to go from your terminal!</p>
  293. <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>python -m super_gradients.train_from_recipe --config-name<span class="o">=</span>imagenet_regnetY <span class="nv">architecture</span><span class="o">=</span>regnetY800 dataset_interface.data_dir<span class="o">=</span>&lt;YOUR_Imagenet_LOCAL_PATH&gt; <span class="nv">ckpt_root_dir</span><span class="o">=</span>&lt;CHEKPOINT_DIRECTORY&gt;
  294. </pre></div>
  295. </div>
  296. </div>
  297. <div class="section" id="quickly-load-pre-trained-weights-for-your-desired-model-with-sota-performance">
  298. <h2>Quickly Load Pre-Trained Weights for Your Desired Model with SOTA Performance<a class="headerlink" href="#quickly-load-pre-trained-weights-for-your-desired-model-with-sota-performance" title="Permalink to this heading"></a></h2>
  299. <p>Want to try our pre-trained models on your machine? Import SuperGradients, initialize your Trainer, and load your desired architecture and pre-trained weights from our <span class="xref myst">SOTA model zoo</span></p>
  300. <div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="c1"># The pretrained_weights argument will load a pre-trained architecture on the provided dataset</span>
  301. <span class="kn">import</span> <span class="nn">super_gradients</span>
  302. <span class="n">model</span> <span class="o">=</span> <span class="n">models</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s2">&quot;model-name&quot;</span><span class="p">,</span> <span class="n">pretrained_weights</span><span class="o">=</span><span class="s2">&quot;pretrained-model-name&quot;</span><span class="p">)</span>
  303. </pre></div>
  304. </div>
  305. </div>
  306. <div class="section" id="id1">
  307. <h2>Classification<a class="headerlink" href="#id1" title="Permalink to this heading"></a></h2>
  308. <div class="section" id="transfer-learning">
  309. <h3>Transfer Learning<a class="headerlink" href="#transfer-learning" title="Permalink to this heading"></a></h3>
  310. <table class="tfo-notebook-buttons" align="left">
  311. <td width="500">
  312. <a target="_blank" href="https://bit.ly/3xzIutb"><img src="./assets/SG_img/colab_logo.png" /> Classification Transfer Learning</a>
  313. </td>
  314. <td width="200">
  315. <a target="_blank" href="https://bit.ly/3xwYEn1"><img src="./assets/SG_img/GitHub_logo.png" /> GitHub source</a>
  316. </td>
  317. </table>
  318. </br></br>
  319. </div>
  320. </div>
  321. <div class="section" id="id2">
  322. <h2>Semantic Segmentation<a class="headerlink" href="#id2" title="Permalink to this heading"></a></h2>
  323. <div class="section" id="quick-start">
  324. <h3>Quick Start<a class="headerlink" href="#quick-start" title="Permalink to this heading"></a></h3>
  325. <table class="tfo-notebook-buttons" align="left">
  326. <td width="500">
  327. <a target="_blank" href="https://bit.ly/3qKx9m8"><img src="./assets/SG_img/colab_logo.png" /> Segmentation Quick Start</a>
  328. </td>
  329. <td width="200">
  330. <a target="_blank" href="https://bit.ly/3qJjxYq"><img src="./assets/SG_img/GitHub_logo.png" /> GitHub source </a>
  331. </td>
  332. </table>
  333. </br></br>
  334. </div>
  335. <div class="section" id="id3">
  336. <h3>Transfer Learning<a class="headerlink" href="#id3" title="Permalink to this heading"></a></h3>
  337. <table class="tfo-notebook-buttons" align="left">
  338. <td width="500">
  339. <a target="_blank" href="https://bit.ly/3qKwMbe"><img src="./assets/SG_img/colab_logo.png" /> Segmentation Transfer Learning</a>
  340. </td>
  341. <td width="200">
  342. <a target="_blank" href="https://bit.ly/3ShJlXn"><img src="./assets/SG_img/GitHub_logo.png" /> GitHub source</a>
  343. </td>
  344. </table>
  345. </br></br>
  346. </div>
  347. <div class="section" id="how-to-connect-custom-dataset">
  348. <h3>How to Connect Custom Dataset<a class="headerlink" href="#how-to-connect-custom-dataset" title="Permalink to this heading"></a></h3>
  349. <table class="tfo-notebook-buttons" align="left">
  350. <td width="500">
  351. <a target="_blank" href="https://bit.ly/3QQBVJp"><img src="./assets/SG_img/colab_logo.png" /> Segmentation How to Connect Custom Dataset</a>
  352. </td>
  353. <td width="200">
  354. <a target="_blank" href="https://bit.ly/3Us2WGi"><img src="./assets/SG_img/GitHub_logo.png" /> GitHub source</a>
  355. </td>
  356. </table>
  357. </br></br>
  358. </div>
  359. </div>
  360. <div class="section" id="id4">
  361. <h2>Object Detection<a class="headerlink" href="#id4" title="Permalink to this heading"></a></h2>
  362. <div class="section" id="id5">
  363. <h3>Transfer Learning<a class="headerlink" href="#id5" title="Permalink to this heading"></a></h3>
  364. <table class="tfo-notebook-buttons" align="left">
  365. <td width="500">
  366. <a target="_blank" href="https://bit.ly/3SkMohx"><img src="./assets/SG_img/colab_logo.png" /> Detection Transfer Learning</a>
  367. </td>
  368. <td width="200">
  369. <a target="_blank" href="https://bit.ly/3DF8siG"><img src="./assets/SG_img/GitHub_logo.png" /> GitHub source</a>
  370. </td>
  371. </table>
  372. </br></br>
  373. </div>
  374. <div class="section" id="id6">
  375. <h3>How to Connect Custom Dataset<a class="headerlink" href="#id6" title="Permalink to this heading"></a></h3>
  376. <table class="tfo-notebook-buttons" align="left">
  377. <td width="500">
  378. <a target="_blank" href="https://bit.ly/3dqDlg3"><img src="./assets/SG_img/colab_logo.png" /> Detection How to Connect Custom Dataset</a>
  379. </td>
  380. <td width="200">
  381. <a target="_blank" href="https://bit.ly/3xBlcmq"><img src="./assets/SG_img/GitHub_logo.png" /> GitHub source</a>
  382. </td>
  383. </table>
  384. </br></br>
  385. </div>
  386. </div>
  387. <div class="section" id="how-to-predict-using-pre-trained-model">
  388. <h2>How to Predict Using Pre-trained Model<a class="headerlink" href="#how-to-predict-using-pre-trained-model" title="Permalink to this heading"></a></h2>
  389. <div class="section" id="segmentation-detection-and-classification-prediction">
  390. <h3>Segmentation, Detection and Classification Prediction<a class="headerlink" href="#segmentation-detection-and-classification-prediction" title="Permalink to this heading"></a></h3>
  391. <table class="tfo-notebook-buttons" align="left">
  392. <td width="500">
  393. <a target="_blank" href="https://bit.ly/3f4mssd"><img src="./assets/SG_img/colab_logo.png" /> How to Predict Using Pre-trained Model</a>
  394. </td>
  395. <td width="200">
  396. <a target="_blank" href="https://bit.ly/3Sf59Tr"><img src="./assets/SG_img/GitHub_logo.png" /> GitHub source</a>
  397. </td>
  398. </table>
  399. </br></br>
  400. </div>
  401. </div>
  402. </div>
  403. <div class="section" id="advanced-features">
  404. <h1>Advanced Features<a class="headerlink" href="#advanced-features" title="Permalink to this heading"></a></h1>
  405. <hr class="docutils" />
  406. <div class="section" id="knowledge-distillation-training">
  407. <h2>Knowledge Distillation Training<a class="headerlink" href="#knowledge-distillation-training" title="Permalink to this heading"></a></h2>
  408. <p>Knowledge Distillation is a training technique that uses a large model, teacher model, to improve the performance of a smaller model, the student model.
  409. Learn more about SuperGradients knowledge distillation training with our pre-trained BEiT base teacher model and Resnet18 student model on CIFAR10 example notebook on Google Colab for an easy to use tutorial using free GPU hardware</p>
  410. <table class="tfo-notebook-buttons" align="left">
  411. <td width="500">
  412. <a target="_blank" href="https://bit.ly/3BLA5oR"><img src="./assets/SG_img/colab_logo.png" /> Knowledge Distillation Training</a>
  413. </td>
  414. <td width="200">
  415. <a target="_blank" href="https://bit.ly/3S9UlG4"><img src="./assets/SG_img/GitHub_logo.png" /> GitHub source</a>
  416. </td>
  417. </table>
  418. </br></br>
  419. </div>
  420. <div class="section" id="recipes">
  421. <h2>Recipes<a class="headerlink" href="#recipes" title="Permalink to this heading"></a></h2>
  422. <p>To train a model, it is necessary to configure 4 main components. These components are aggregated into a single “main” recipe <code class="docutils literal notranslate"><span class="pre">.yaml</span></code> file that inherits the aforementioned dataset, architecture, raining and checkpoint params. It is also possible (and recomended for flexibility) to override default settings with custom ones.
  423. All recipes can be found <span class="xref myst">here</span></p>
  424. <table class="tfo-notebook-buttons" align="left">
  425. <td width="500">
  426. <a target="_blank" href="https://bit.ly/3UiY5ab"><img src="./assets/SG_img/colab_logo.png" /> How to Use Recipes</a>
  427. </td>
  428. <td width="200">
  429. <a target="_blank" href="https://bit.ly/3QSrHbm"><img src="./assets/SG_img/GitHub_logo.png" /> GitHub source</a>
  430. </td>
  431. </table>
  432. </br></br>
  433. </div>
  434. <div class="section" id="using-ddp">
  435. <h2>Using DDP<a class="headerlink" href="#using-ddp" title="Permalink to this heading"></a></h2>
  436. <div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">super_gradients</span> <span class="kn">import</span> <span class="n">init_trainer</span>
  437. <span class="kn">from</span> <span class="nn">super_gradients.common</span> <span class="kn">import</span> <span class="n">MultiGPUMode</span>
  438. <span class="kn">from</span> <span class="nn">super_gradients.training.utils.distributed_training_utils</span> <span class="kn">import</span> <span class="n">setup_gpu_mode</span>
  439. <span class="c1"># Initialize the environment</span>
  440. <span class="n">init_trainer</span><span class="p">()</span>
  441. <span class="c1"># Launch DDP on 1 device (node) of 4 GPU&#39;s</span>
  442. <span class="n">setup_gpu_mode</span><span class="p">(</span><span class="n">gpu_mode</span><span class="o">=</span><span class="n">MultiGPUMode</span><span class="o">.</span><span class="n">DISTRIBUTED_DATA_PARALLEL</span><span class="p">,</span> <span class="n">num_gpus</span><span class="o">=</span><span class="mi">4</span><span class="p">)</span>
  443. <span class="c1"># Define the objects</span>
  444. <span class="c1"># The trainer will run on DDP without anything else to change</span>
  445. </pre></div>
  446. </div>
  447. </div>
  448. <div class="section" id="easily-change-architectures-parameters">
  449. <h2>Easily change architectures parameters<a class="headerlink" href="#easily-change-architectures-parameters" title="Permalink to this heading"></a></h2>
  450. <div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">super_gradients.training</span> <span class="kn">import</span> <span class="n">models</span>
  451. <span class="c1"># instantiate default pretrained resnet18</span>
  452. <span class="n">default_resnet18</span> <span class="o">=</span> <span class="n">models</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="s2">&quot;resnet18&quot;</span><span class="p">,</span> <span class="n">num_classes</span><span class="o">=</span><span class="mi">100</span><span class="p">,</span> <span class="n">pretrained_weights</span><span class="o">=</span><span class="s2">&quot;imagenet&quot;</span><span class="p">)</span>
  453. <span class="c1"># instantiate pretrained resnet18, turning DropPath on with probability 0.5</span>
  454. <span class="n">droppath_resnet18</span> <span class="o">=</span> <span class="n">models</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="s2">&quot;resnet18&quot;</span><span class="p">,</span> <span class="n">arch_params</span><span class="o">=</span><span class="p">{</span><span class="s2">&quot;droppath_prob&quot;</span><span class="p">:</span> <span class="mf">0.5</span><span class="p">},</span> <span class="n">num_classes</span><span class="o">=</span><span class="mi">100</span><span class="p">,</span> <span class="n">pretrained_weights</span><span class="o">=</span><span class="s2">&quot;imagenet&quot;</span><span class="p">)</span>
  455. <span class="c1"># instantiate pretrained resnet18, without classifier head. Output will be from the last stage before global pooling</span>
  456. <span class="n">backbone_resnet18</span> <span class="o">=</span> <span class="n">models</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="s2">&quot;resnet18&quot;</span><span class="p">,</span> <span class="n">arch_params</span><span class="o">=</span><span class="p">{</span><span class="s2">&quot;backbone_mode&quot;</span><span class="p">:</span> <span class="kc">True</span><span class="p">},</span> <span class="n">pretrained_weights</span><span class="o">=</span><span class="s2">&quot;imagenet&quot;</span><span class="p">)</span>
  457. </pre></div>
  458. </div>
  459. </div>
  460. <div class="section" id="using-phase-callbacks">
  461. <h2>Using phase callbacks<a class="headerlink" href="#using-phase-callbacks" title="Permalink to this heading"></a></h2>
  462. <div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">super_gradients</span> <span class="kn">import</span> <span class="n">Trainer</span>
  463. <span class="kn">from</span> <span class="nn">torch.optim.lr_scheduler</span> <span class="kn">import</span> <span class="n">ReduceLROnPlateau</span>
  464. <span class="kn">from</span> <span class="nn">super_gradients.training.utils.callbacks</span> <span class="kn">import</span> <span class="n">Phase</span><span class="p">,</span> <span class="n">LRSchedulerCallback</span>
  465. <span class="kn">from</span> <span class="nn">super_gradients.training.metrics.classification_metrics</span> <span class="kn">import</span> <span class="n">Accuracy</span>
  466. <span class="c1"># define PyTorch train and validation loaders and optimizer</span>
  467. <span class="c1"># define what to be called in the callback</span>
  468. <span class="n">rop_lr_scheduler</span> <span class="o">=</span> <span class="n">ReduceLROnPlateau</span><span class="p">(</span><span class="n">optimizer</span><span class="p">,</span> <span class="n">mode</span><span class="o">=</span><span class="s2">&quot;max&quot;</span><span class="p">,</span> <span class="n">patience</span><span class="o">=</span><span class="mi">10</span><span class="p">,</span> <span class="n">verbose</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
  469. <span class="c1"># define phase callbacks, they will fire as defined in Phase</span>
  470. <span class="n">phase_callbacks</span> <span class="o">=</span> <span class="p">[</span><span class="n">LRSchedulerCallback</span><span class="p">(</span><span class="n">scheduler</span><span class="o">=</span><span class="n">rop_lr_scheduler</span><span class="p">,</span>
  471. <span class="n">phase</span><span class="o">=</span><span class="n">Phase</span><span class="o">.</span><span class="n">VALIDATION_EPOCH_END</span><span class="p">,</span>
  472. <span class="n">metric_name</span><span class="o">=</span><span class="s2">&quot;Accuracy&quot;</span><span class="p">)]</span>
  473. <span class="c1"># create a trainer object, look the declaration for more parameters</span>
  474. <span class="n">trainer</span> <span class="o">=</span> <span class="n">Trainer</span><span class="p">(</span><span class="s2">&quot;experiment_name&quot;</span><span class="p">)</span>
  475. <span class="c1"># define phase_callbacks as part of the training parameters</span>
  476. <span class="n">train_params</span> <span class="o">=</span> <span class="p">{</span><span class="s2">&quot;phase_callbacks&quot;</span><span class="p">:</span> <span class="n">phase_callbacks</span><span class="p">}</span>
  477. </pre></div>
  478. </div>
  479. </div>
  480. <div class="section" id="integration-to-weights-and-biases">
  481. <h2>Integration to Weights and Biases<a class="headerlink" href="#integration-to-weights-and-biases" title="Permalink to this heading"></a></h2>
  482. <div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">super_gradients</span> <span class="kn">import</span> <span class="n">Trainer</span>
  483. <span class="c1"># create a trainer object, look the declaration for more parameters</span>
  484. <span class="n">trainer</span> <span class="o">=</span> <span class="n">Trainer</span><span class="p">(</span><span class="s2">&quot;experiment_name&quot;</span><span class="p">)</span>
  485. <span class="n">train_params</span> <span class="o">=</span> <span class="p">{</span> <span class="o">...</span> <span class="c1"># training parameters</span>
  486. <span class="s2">&quot;sg_logger&quot;</span><span class="p">:</span> <span class="s2">&quot;wandb_sg_logger&quot;</span><span class="p">,</span> <span class="c1"># Weights&amp;Biases Logger, see class WandBSGLogger for details</span>
  487. <span class="s2">&quot;sg_logger_params&quot;</span><span class="p">:</span> <span class="c1"># paramenters that will be passes to __init__ of the logger </span>
  488. <span class="p">{</span>
  489. <span class="s2">&quot;project_name&quot;</span><span class="p">:</span> <span class="s2">&quot;project_name&quot;</span><span class="p">,</span> <span class="c1"># W&amp;B project name</span>
  490. <span class="s2">&quot;save_checkpoints_remote&quot;</span><span class="p">:</span> <span class="kc">True</span>
  491. <span class="s2">&quot;save_tensorboard_remote&quot;</span><span class="p">:</span> <span class="kc">True</span>
  492. <span class="s2">&quot;save_logs_remote&quot;</span><span class="p">:</span> <span class="kc">True</span>
  493. <span class="p">}</span>
  494. <span class="p">}</span>
  495. </pre></div>
  496. </div>
  497. </div>
  498. </div>
  499. <div class="section" id="installation-methods">
  500. <h1>Installation Methods<a class="headerlink" href="#installation-methods" title="Permalink to this heading"></a></h1>
  501. <hr class="docutils" />
  502. <div class="section" id="prerequisites">
  503. <h2>Prerequisites<a class="headerlink" href="#prerequisites" title="Permalink to this heading"></a></h2>
  504. <details>
  505. <summary>General requirements</summary>
  506. <ul class="simple">
  507. <li><p>Python 3.7, 3.8 or 3.9 installed.</p></li>
  508. <li><p>torch&gt;=1.9.0</p>
  509. <ul>
  510. <li><p>https://pytorch.org/get-started/locally/</p></li>
  511. </ul>
  512. </li>
  513. <li><p>The python packages that are specified in requirements.txt;</p></li>
  514. </ul>
  515. </details>
  516. <details>
  517. <summary>To train on nvidia GPUs</summary>
  518. <ul class="simple">
  519. <li><p><a class="reference external" href="https://developer.nvidia.com/cuda-11.2.0-download-archive?target_os=Linux&amp;target_arch=x86_64&amp;target_distro=Ubuntu">Nvidia CUDA Toolkit &gt;= 11.2</a></p></li>
  520. <li><p>CuDNN &gt;= 8.1.x</p></li>
  521. <li><p>Nvidia Driver with CUDA &gt;= 11.2 support (≥460.x)</p></li>
  522. </ul>
  523. </details>
  524. </div>
  525. <div class="section" id="id7">
  526. <h2>Quick Installation<a class="headerlink" href="#id7" title="Permalink to this heading"></a></h2>
  527. <details>
  528. <summary>Install stable version using PyPi</summary>
  529. <p>See in <a class="reference external" href="https://pypi.org/project/super-gradients/">PyPi</a></p>
  530. <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>pip install super-gradients
  531. </pre></div>
  532. </div>
  533. <p>That’s it !</p>
  534. </details>
  535. <details>
  536. <summary>Install using GitHub</summary>
  537. <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>pip install git+https://github.com/Deci-AI/super-gradients.git@stable
  538. </pre></div>
  539. </div>
  540. </details>
  541. </div>
  542. </div>
  543. <div class="section" id="implemented-model-architectures">
  544. <h1>Implemented Model Architectures<a class="headerlink" href="#implemented-model-architectures" title="Permalink to this heading"></a></h1>
  545. <hr class="docutils" />
  546. <p>Detailed list can be found <span class="xref myst">here</span></p>
  547. <div class="section" id="image-classification">
  548. <h2>Image Classification<a class="headerlink" href="#image-classification" title="Permalink to this heading"></a></h2>
  549. <ul class="simple">
  550. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/densenet.py">DensNet (Densely Connected Convolutional Networks)</a></p></li>
  551. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/dpn.py">DPN</a></p></li>
  552. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/efficientnet.py">EfficientNet</a></p></li>
  553. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/lenet.py">LeNet</a></p></li>
  554. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/mobilenet.py">MobileNet</a></p></li>
  555. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/mobilenetv2.py">MobileNet v2</a></p></li>
  556. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/mobilenetv3.py">MobileNet v3</a></p></li>
  557. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/pnasnet.py">PNASNet</a></p></li>
  558. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/preact_resnet.py">Pre-activation ResNet</a></p></li>
  559. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/regnet.py">RegNet</a></p></li>
  560. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/repvgg.py">RepVGG</a></p></li>
  561. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/resnet.py">ResNet</a></p></li>
  562. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/resnext.py">ResNeXt</a></p></li>
  563. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/senet.py">SENet </a></p></li>
  564. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/shufflenet.py">ShuffleNet</a></p></li>
  565. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/shufflenetv2.py">ShuffleNet v2</a></p></li>
  566. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/classification_models/vgg.py">VGG</a></p></li>
  567. </ul>
  568. </div>
  569. <div class="section" id="id8">
  570. <h2>Semantic Segmentation<a class="headerlink" href="#id8" title="Permalink to this heading"></a></h2>
  571. <ul class="simple">
  572. <li><p><a class="reference external" href="https://bit.ly/3RrtMMO">PP-LiteSeg</a></p></li>
  573. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/segmentation_models/ddrnet.py">DDRNet (Deep Dual-resolution Networks)</a></p></li>
  574. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/segmentation_models/laddernet.py">LadderNet</a></p></li>
  575. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/segmentation_models/regseg.py">RegSeg</a></p></li>
  576. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/segmentation_models/shelfnet.py">ShelfNet</a></p></li>
  577. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/segmentation_models/stdc.py">STDC</a></p></li>
  578. </ul>
  579. </div>
  580. <div class="section" id="id9">
  581. <h2>Object Detection<a class="headerlink" href="#id9" title="Permalink to this heading"></a></h2>
  582. <ul class="simple">
  583. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/detection_models/csp_darknet53.py">CSP DarkNet</a></p></li>
  584. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/detection_models/darknet53.py">DarkNet-53</a></p></li>
  585. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/detection_models/ssd.py">SSD (Single Shot Detector)</a></p></li>
  586. <li><p><a class="reference external" href="https://github.com/Deci-AI/super-gradients/blob/master/src/super_gradients/training/models/detection_models/yolox.py">YOLOX</a></p></li>
  587. </ul>
  588. <hr class="docutils" />
  589. </div>
  590. </div>
  591. <div class="section" id="documentation">
  592. <h1>Documentation<a class="headerlink" href="#documentation" title="Permalink to this heading"></a></h1>
  593. <p>Check SuperGradients <a class="reference external" href="https://deci-ai.github.io/super-gradients/welcome.html">Docs</a> for full documentation, user guide, and examples.</p>
  594. </div>
  595. <div class="section" id="contributing">
  596. <h1>Contributing<a class="headerlink" href="#contributing" title="Permalink to this heading"></a></h1>
  597. <p>To learn about making a contribution to SuperGradients, please see our <a class="reference internal" href="CONTRIBUTING.html"><span class="doc std std-doc">Contribution page</span></a>.</p>
  598. <p>Our awesome contributors:</p>
  599. <a href="https://github.com/Deci-AI/super-gradients/graphs/contributors">
  600. <img src="https://contrib.rocks/image?repo=Deci-AI/super-gradients" />
  601. </a>
  602. <p><br/>Made with <a class="reference external" href="https://contrib.rocks">contrib.rocks</a>.</p>
  603. </div>
  604. <div class="section" id="citation">
  605. <h1>Citation<a class="headerlink" href="#citation" title="Permalink to this heading"></a></h1>
  606. <p>If you are using SuperGradients library or benchmarks in your research, please cite SuperGradients deep learning training library.</p>
  607. </div>
  608. <div class="section" id="community">
  609. <h1>Community<a class="headerlink" href="#community" title="Permalink to this heading"></a></h1>
  610. <p>If you want to be a part of SuperGradients growing community, hear about all the exciting news and updates, need help, request for advanced features,
  611. or want to file a bug or issue report, we would love to welcome you aboard!</p>
  612. <ul class="simple">
  613. <li><p>Slack is the place to be and ask questions about SuperGradients and get support. <a class="reference external" href="https://join.slack.com/t/supergradients-comm52/shared_invite/zt-10vz6o1ia-b_0W5jEPEnuHXm087K~t8Q">Click here to join our Slack</a></p></li>
  614. <li><p>To report a bug, <a class="reference external" href="https://github.com/Deci-AI/super-gradients/issues">file an issue</a> on GitHub.</p></li>
  615. <li><p>Join the <a class="reference external" href="https://www.supergradients.com/#Newsletter">SG Newsletter</a>
  616. for staying up to date with new features and models, important announcements, and upcoming events.</p></li>
  617. <li><p>For a short meeting with us, use this <a class="reference external" href="https://calendly.com/ofer-baratz-deci/15min">link</a> and choose your preferred time.</p></li>
  618. </ul>
  619. </div>
  620. <div class="section" id="license">
  621. <h1>License<a class="headerlink" href="#license" title="Permalink to this heading"></a></h1>
  622. <p>This project is released under the <a class="reference internal" href="LICENSE.html"><span class="doc std std-doc">Apache 2.0 license</span></a>.</p>
  623. <hr class="docutils" />
  624. </div>
  625. <div class="section" id="deci-platform">
  626. <h1>Deci Platform<a class="headerlink" href="#deci-platform" title="Permalink to this heading"></a></h1>
  627. <p>Deci Platform is our end to end platform for building, optimizing and deploying deep learning models to production.</p>
  628. <p><a class="reference external" href="https://bit.ly/3qO3icq">Request free trial</a> to enjoy immediate improvement in throughput, latency, memory footprint and model size.</p>
  629. <p>Features:</p>
  630. <ul class="simple">
  631. <li><p>Automatically compile and quantize your models with just a few clicks (TensorRT, OpenVINO).</p></li>
  632. <li><p>Gain up to 10X improvement in throughput, latency, memory and model size.</p></li>
  633. <li><p>Easily benchmark your models’ performance on different hardware and batch sizes.</p></li>
  634. <li><p>Invite co-workers to collaborate on models and communicate your progress.</p></li>
  635. <li><p>Deci supports all common frameworks and Hardware, from Intel CPUs to Nvidia’s GPUs and Jetsons.
  636. ֿ</p></li>
  637. </ul>
  638. <p>Request free trial <a class="reference external" href="https://bit.ly/3qO3icq">here</a></p>
  639. </div>
  640. </div>
  641. </div>
  642. <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
  643. <a href="index.html" class="btn btn-neutral float-left" title="Welcome to SuperGradients’s documentation!" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
  644. <a href="super_gradients.common.html" class="btn btn-neutral float-right" title="Common package" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
  645. </div>
  646. <hr/>
  647. <div role="contentinfo">
  648. <p>&#169; Copyright 2021, SuperGradients team.</p>
  649. </div>
  650. Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
  651. <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
  652. provided by <a href="https://readthedocs.org">Read the Docs</a>.
  653. </footer>
  654. </div>
  655. </div>
  656. </section>
  657. </div>
  658. <script>
  659. jQuery(function () {
  660. SphinxRtdTheme.Navigation.enable(true);
  661. });
  662. </script>
  663. </body>
  664. </html>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...