Skip to content

Commit

Permalink
Reduce n_epoch of integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HiroakiMikami committed Oct 25, 2020
1 parent b982c21 commit 628d567
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions test_integration/test_csg_by_pbe_with_repl.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ def pretrain(self, output_dir):
])),
None, "score",
collate_fn,
1, Epoch(100), evaluation_interval=Epoch(10),
snapshot_interval=Epoch(100)
1, Epoch(50), evaluation_interval=Epoch(50),
snapshot_interval=Epoch(50)
)
return encoder, train_dataset

Expand Down
4 changes: 2 additions & 2 deletions test_integration/test_nl2code.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ def train(self, output_dir):
),
"accuracy@5",
lambda x: collate(transform(x)),
1, Epoch(100), evaluation_interval=Epoch(100),
snapshot_interval=Epoch(100),
1, Epoch(50), evaluation_interval=Epoch(50),
snapshot_interval=Epoch(50),
threshold=1.0
)
return qencoder, aencoder
Expand Down
4 changes: 2 additions & 2 deletions test_integration/test_treegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ def train(self, output_dir):
),
"accuracy@5",
lambda x: collate(transform(x)),
1, Epoch(100), evaluation_interval=Epoch(100),
snapshot_interval=Epoch(100),
1, Epoch(50), evaluation_interval=Epoch(50),
snapshot_interval=Epoch(50),
threshold=1.0
)
return encoder
Expand Down

0 comments on commit 628d567

Please sign in to comment.