Skip to content

Commit

Permalink
fix: smaller batch size and prefetch factor to adapt to VM size
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesGaydon committed Oct 16, 2023
1 parent c027a77 commit 27e87c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/staging-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
predict.src_las=/data/val/*.las
predict.output_dir=/lidar_prod_optimization/${model_id}/preds-valset/
predict.interpolator.probas_to_save=[building]
datamodule.prefetch_factor=1
datamodule.batch_size=5
- name: Inference on test set of 20211001_building_val-lidar-prod-optimization
run: >
Expand All @@ -49,6 +51,8 @@ jobs:
predict.src_las=/data/test/*.las
predict.output_dir=/lidar_prod_optimization/${model_id}/preds-testset/
predict.interpolator.probas_to_save=[building]
datamodule.prefetch_factor=1
datamodule.batch_size=5
# NB: we run the new, tagged image at least once so that is it not prunned
# by mistake when using docker system prune.
Expand Down

0 comments on commit 27e87c3

Please sign in to comment.