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

dvc.yaml 1.8 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
  1. stages:
  2. gen-dag:
  3. cmd:
  4. - dvc dag --full --md >> ${gen-dag.output}
  5. - dvc dag -o --md >> ${gen-dag.output}
  6. always_changed: true
  7. outs:
  8. - ${gen-dag.output}
  9. environment-check:
  10. cmd: >
  11. python -m src.pipeline.environment_check
  12. always_changed: true
  13. deps:
  14. - ${src.pipeline.environment-check}
  15. outs:
  16. - ${environment-check.output}
  17. params:
  18. - environment-check
  19. train-model:
  20. vars:
  21. - model.hyper.yaml:initial-weights
  22. - data.yaml
  23. cmd: >
  24. python -u -m src.pipeline.train_model
  25. | tee ${train-pipeline.output.log}
  26. deps:
  27. # previous stage
  28. - ${environment-check.output}
  29. # src code
  30. - ${src.pipeline.train-model}
  31. # data/weight
  32. - ${sample-data.path}
  33. - ${initial-weights}
  34. outs:
  35. - ${train-pipeline.output.log}
  36. - ${train-pipeline.summary}:
  37. persist: true
  38. - ${train-pipeline.output.model}:
  39. persist: true
  40. params:
  41. - train-pipeline
  42. - model.hyper.yaml: #! DANGER: DO NOT USE implicit name in params
  43. - train
  44. metrics:
  45. - ${train-pipeline.output.metric.folder}${train-pipeline.output.metric.general}
  46. evaluate:
  47. cmd: >
  48. python -u -m src.pipeline.evaluate
  49. | tee ${evaluate.output.log}
  50. deps:
  51. # previous stage
  52. - ${environment-check.output}
  53. - ${evaluate.model-weight} #weight
  54. # src code
  55. - ${src.pipeline.evaluate}
  56. # data
  57. - ${evaluate.data.path}
  58. params:
  59. - evaluate
  60. - model.hyper.yaml:
  61. - inference
  62. metrics:
  63. - ${evaluate.output.metric}
  64. # plots
  65. plots:
  66. - loss_bounding_box:
  67. title: MaskRCNN on BBox
  68. template: linear
  69. y:
  70. out/train.metrics/epoch_mrcnn_bbox_loss.json: value
  71. out/train.metrics/epoch_val_mrcnn_bbox_loss.json: value
  72. x_label: 'Epoch'
  73. y_label: 'Loss'
Tip!

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

Comments

Loading...