Skip to content

Commit 1cf2b1b

Browse files
committed
Reduce n_epoch of integration tests
1 parent 94fc5cf commit 1cf2b1b

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

test_integration/test_csg_by_pbe_with_repl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ def pretrain(self, output_dir):
247247
])),
248248
None, "score",
249249
collate_fn,
250-
1, Epoch(100), evaluation_interval=Epoch(10),
251-
snapshot_interval=Epoch(100)
250+
1, Epoch(50), evaluation_interval=Epoch(50),
251+
snapshot_interval=Epoch(50)
252252
)
253253
return encoder, train_dataset
254254

test_integration/test_nl2code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ def train(self, output_dir):
171171
),
172172
"accuracy@5",
173173
lambda x: collate(transform(x)),
174-
1, Epoch(100), evaluation_interval=Epoch(100),
175-
snapshot_interval=Epoch(100),
174+
1, Epoch(50), evaluation_interval=Epoch(50),
175+
snapshot_interval=Epoch(50),
176176
threshold=1.0
177177
)
178178
return qencoder, aencoder

test_integration/test_treegen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ def train(self, output_dir):
191191
),
192192
"accuracy@5",
193193
lambda x: collate(transform(x)),
194-
1, Epoch(100), evaluation_interval=Epoch(100),
195-
snapshot_interval=Epoch(100),
194+
1, Epoch(50), evaluation_interval=Epoch(50),
195+
snapshot_interval=Epoch(50),
196196
threshold=1.0
197197
)
198198
return encoder

0 commit comments

Comments
 (0)