Skip to content

Commit

Permalink
HOTFIX - correct classification code in CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesGaydon committed Mar 22, 2022
1 parent 7b733fb commit b01fd07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ jobs:
- name: unit testing
run: docker run lidar_prod_im pytest --ignore=actions-runner --ignore="notebooks"

- name: Evaluate decisions on single LAS
- name: Full module run on LAS subset
run: docker run -v /var/data/cicd/CICD_github_assets:/CICD_github_assets predict_im

- name: Evaluate decisions using optimization code on a single, corrected LAS
run: >
docker run -v /var/data/cicd/CICD_github_assets:/CICD_github_assets lidar_prod_im
python lidar_prod/run.py print_config=true +task='optimize'
Expand All @@ -34,9 +37,6 @@ jobs:
building_validation.optimization.paths.results_output_dir=/CICD_github_assets/opti/
building_validation.optimization.paths.building_validation_thresholds_pickle=/CICD_github_assets/M8.0/20220204_building_val_V0.0_model/M8.0B2V0.0_buildingvalidation_thresholds.pickle
- name: test full run
run: docker run -v /var/data/cicd/CICD_github_assets:/CICD_github_assets predict_im

- name: clean the server for further uses
if: always() # always do it, even if something failed
run: docker system prune # remove obsolete docker images (take a HUGE amount of space)
Expand Down
2 changes: 1 addition & 1 deletion CI/run_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ HYDRA_FULL_ERROR=1
python -m lidar_prod.run print_config=true \
paths.src_las=/var/data/cicd/CICD_github_assets/M8.0/20220204_building_val_V0.0_model/subsets/871000_6617000_subset_with_probas.las \
paths.output_dir=/var/data/cicd/CICD_outputs/app/ \
data_format.codes.building.candidates='[19, 20, 110, 112, 114, 115]' \
data_format.codes.building.candidates='[202]' \
building_validation.application.building_validation_thresholds_pickle=/var/data/cicd/CICD_github_assets/M8.0/20220204_building_val_V0.0_model/M8.0B2V0.0_buildingvalidation_thresholds.pickle
2 changes: 1 addition & 1 deletion dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ CMD ["python", \
"print_config=true", \
"paths.src_las=/CICD_github_assets/M8.0/20220204_building_val_V0.0_model/subsets/871000_6617000_subset_with_probas.las", \
"paths.output_dir=/CICD_github_assets/app/", \
"data_format.codes.building.candidates=[19, 20, 110, 112, 114, 115]", \
"data_format.codes.building.candidates=[202]", \
"building_validation.application.building_validation_thresholds_pickle=/CICD_github_assets/M8.0/20220204_building_val_V0.0_model/M8.0B2V0.0_buildingvalidation_thresholds.pickle"]

0 comments on commit b01fd07

Please sign in to comment.