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

yolov6_tiny.py 1.0 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
  1. # YOLOv6t model
  2. model = dict(
  3. type='YOLOv6t',
  4. pretrained=None,
  5. depth_multiple=0.25,
  6. width_multiple=0.50,
  7. backbone=dict(
  8. type='EfficientRep',
  9. num_repeats=[1, 6, 12, 18, 6],
  10. out_channels=[64, 128, 256, 512, 1024],
  11. ),
  12. neck=dict(
  13. type='RepPAN',
  14. num_repeats=[12, 12, 12, 12],
  15. out_channels=[256, 128, 128, 256, 256, 512],
  16. ),
  17. head=dict(
  18. type='EffiDeHead',
  19. in_channels=[128, 256, 512],
  20. num_layers=3,
  21. begin_indices=24,
  22. anchors=1,
  23. out_indices=[17, 20, 23],
  24. strides=[8, 16, 32],
  25. iou_type='ciou'
  26. )
  27. )
  28. solver = dict(
  29. optim='SGD',
  30. lr_scheduler='Cosine',
  31. lr0=0.01,
  32. lrf=0.01,
  33. momentum=0.937,
  34. weight_decay=0.0005,
  35. warmup_epochs=3.0,
  36. warmup_momentum=0.8,
  37. warmup_bias_lr=0.1
  38. )
  39. data_aug = dict(
  40. hsv_h=0.015,
  41. hsv_s=0.7,
  42. hsv_v=0.4,
  43. degrees=0.0,
  44. translate=0.1,
  45. scale=0.5,
  46. shear=0.0,
  47. flipud=0.0,
  48. fliplr=0.5,
  49. mosaic=1.0,
  50. mixup=0.0,
  51. )
Tip!

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

Comments

Loading...