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 5.5 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
  1. stages:
  2. preprocess_dataset:
  3. foreach:
  4. - WikiCS
  5. - Amazon-CS
  6. - Amazon-Photo
  7. - Coauthor-CS
  8. - Coauthor-Physics
  9. - ogbn-arxiv
  10. - PPI
  11. - ogbn-products
  12. do:
  13. wdir: .
  14. cmd: PYTHONPATH=. python3 experiments/scripts/preprocess_dataset.py ${item}
  15. deps:
  16. - experiments/scripts/preprocess_dataset.py
  17. outs:
  18. - data/datasets/${item}/
  19. ### Full batch scenario
  20. full_batch_hps:
  21. foreach:
  22. - WikiCS
  23. - Amazon-CS
  24. - Amazon-Photo
  25. - Coauthor-CS
  26. - Coauthor-Physics
  27. - ogbn-arxiv
  28. - PPI
  29. do:
  30. wdir: .
  31. cmd: PYTHONPATH=. python3 experiments/scripts/full_batch/hps.py ${item}
  32. params:
  33. - experiments/configs/full_batch/hps.yaml:
  34. - ${item}
  35. deps:
  36. - experiments/scripts/full_batch/hps.py
  37. - data/datasets/${item}/
  38. outs:
  39. - data/full_batch/hps/${item}/log.csv
  40. - data/full_batch/hps/${item}/best.json
  41. full_batch_train:
  42. foreach:
  43. - WikiCS
  44. - Amazon-CS
  45. - Amazon-Photo
  46. - Coauthor-CS
  47. - Coauthor-Physics
  48. - ogbn-arxiv
  49. - PPI
  50. do:
  51. wdir: .
  52. cmd: PYTHONPATH=. python3 experiments/scripts/full_batch/train.py ${item}
  53. params:
  54. - experiments/configs/full_batch/train.yaml:
  55. - ${item}
  56. - data/full_batch/hps/${item}/best.json:
  57. - SAME
  58. deps:
  59. - experiments/scripts/full_batch/train.py
  60. - gssl/full_batch/model.py
  61. - data/datasets/${item}/
  62. outs:
  63. - data/full_batch/train/${item}/
  64. ### Batched scenario
  65. batched_train:
  66. foreach:
  67. - WikiCS
  68. - Amazon-CS
  69. - Amazon-Photo
  70. - Coauthor-CS
  71. - Coauthor-Physics
  72. - ogbn-arxiv
  73. - PPI
  74. do:
  75. wdir: .
  76. cmd: PYTHONPATH=. python3 experiments/scripts/batched/train.py ${item}
  77. params:
  78. - experiments/configs/batched/train.yaml:
  79. - ${item}
  80. - data/full_batch/hps/${item}/best.json:
  81. - SAME
  82. deps:
  83. - experiments/scripts/batched/train.py
  84. - data/datasets/${item}/
  85. outs:
  86. - data/batched/train/${item}/
  87. ### OGBn-Products
  88. batched_hps_ogbn_products:
  89. wdir: .
  90. cmd: PYTHONPATH=. python3 experiments/scripts/batched/hps.py ogbn-products
  91. params:
  92. - experiments/configs/batched/hps.yaml:
  93. - ogbn-products
  94. deps:
  95. - experiments/scripts/batched/hps.py
  96. - data/datasets/ogbn-products/
  97. outs:
  98. - data/batched/hps/ogbn-products/log.csv
  99. - data/batched/hps/ogbn-products/best.json
  100. batched_train_ogbn_products:
  101. wdir: .
  102. cmd: PYTHONPATH=. python3 experiments/scripts/batched/train.py ogbn-products
  103. params:
  104. - experiments/configs/batched/train.yaml:
  105. - ogbn-products
  106. - data/batched/hps/ogbn-products/best.json:
  107. - SAME
  108. deps:
  109. - experiments/scripts/batched/train.py
  110. - data/datasets/ogbn-products/
  111. outs:
  112. - data/batched/train/ogbn-products/
  113. ### Additional experiments
  114. compare_augmentation_hyperparameter_sets:
  115. wdir: .
  116. cmd: PYTHONPATH=. python3 experiments/scripts/compare_augmentation_hyperparameter_sets.py
  117. deps:
  118. - experiments/scripts/compare_augmentation_hyperparameter_sets.py
  119. - data/full_batch/hps/
  120. outs:
  121. - data/augmentation_hyperparameter_plot.png
  122. compare_running_times:
  123. wdir: .
  124. cmd: PYTHONPATH=. python3 experiments/scripts/time/compare_running_times.py
  125. deps:
  126. - experiments/scripts/time/compare_running_times.py
  127. outs:
  128. - data/time/log.csv
  129. - data/time/summary_table.txt
  130. train_bgrl_full_batch:
  131. foreach:
  132. - WikiCS
  133. - Amazon-CS
  134. - Amazon-Photo
  135. - Coauthor-CS
  136. # - Coauthor-Physics # OOM
  137. # - ogbn-arxiv
  138. # - PPI
  139. do:
  140. wdir: .
  141. cmd: PYTHONPATH=. python3 experiments/scripts/full_batch/train_bgrl.py ${item}
  142. params:
  143. - experiments/configs/full_batch/train_bgrl.yaml:
  144. - ${item}
  145. deps:
  146. - experiments/scripts/full_batch/train_bgrl.py
  147. - data/datasets/${item}/
  148. outs:
  149. - data/full_batch/train_bgrl/${item}/
  150. bgrl_hps_batched:
  151. foreach:
  152. - ogbn-products
  153. do:
  154. wdir: .
  155. cmd: PYTHONPATH=. python3 experiments/scripts/batched/hps_bgrl.py ${item}
  156. params:
  157. - experiments/configs/batched/hps_bgrl.yaml:
  158. - ${item}
  159. deps:
  160. - experiments/scripts/batched/hps_bgrl.py
  161. - data/datasets/${item}/
  162. outs:
  163. - data/batched/hps_bgrl/${item}/log.csv
  164. - data/batched/hps_bgrl/${item}/best.json
  165. bgrl_batched_train:
  166. foreach:
  167. - ogbn-products
  168. do:
  169. wdir: .
  170. cmd: PYTHONPATH=. python3 experiments/scripts/batched/train_bgrl.py ${item}
  171. params:
  172. - experiments/configs/batched/train_bgrl.yaml:
  173. - ${item}
  174. - data/batched/hps_bgrl/${item}/best.json:
  175. - SAME
  176. deps:
  177. - experiments/scripts/batched/train_bgrl.py
  178. - data/datasets/${item}/
  179. outs:
  180. - data/batched/train_bgrl/${item}/
  181. evaluate_features_products:
  182. wdir: .
  183. cmd: PYTHONPATH=. python3 experiments/scripts/products/features.py
  184. deps:
  185. - experiments/scripts/products/features.py
  186. - data/datasets/ogbn-products/
  187. outs:
  188. - data/products/features.json
  189. evaluate_deepwalk_products:
  190. wdir: .
  191. cmd: PYTHONPATH=. python3 experiments/scripts/products/deepwalk.py
  192. deps:
  193. - experiments/scripts/products/deepwalk.py
  194. - data/datasets/ogbn-products/
  195. outs:
  196. - data/products/deepwalk.json
  197. - data/products/deepwalk_features.json
Tip!

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

Comments

Loading...