Skip to content

Commit 628d567

Browse files
committed
Reduce n_epoch of integration tests
1 parent b982c21 commit 628d567

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
@@ -240,8 +240,8 @@ def pretrain(self, output_dir):
240240
])),
241241
None, "score",
242242
collate_fn,
243-
1, Epoch(100), evaluation_interval=Epoch(10),
244-
snapshot_interval=Epoch(100)
243+
1, Epoch(50), evaluation_interval=Epoch(50),
244+
snapshot_interval=Epoch(50)
245245
)
246246
return encoder, train_dataset
247247

test_integration/test_nl2code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ def train(self, output_dir):
155155
),
156156
"accuracy@5",
157157
lambda x: collate(transform(x)),
158-
1, Epoch(100), evaluation_interval=Epoch(100),
159-
snapshot_interval=Epoch(100),
158+
1, Epoch(50), evaluation_interval=Epoch(50),
159+
snapshot_interval=Epoch(50),
160160
threshold=1.0
161161
)
162162
return qencoder, aencoder

test_integration/test_treegen.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 encoder

0 commit comments

Comments
 (0)