Skip to content

Commit

Permalink
use opencv version that does not require additional non python depend…
Browse files Browse the repository at this point in the history
…encies.
  • Loading branch information
redur committed Apr 4, 2024
1 parent 14a0c71 commit f2adb4e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pipeline_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
- name: Create Environment and run pipeline
shell: bash
run: |
sudo apt-get update && sudo apt-get install ffmpeg libsm6 libxext6 -y
wget -O Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3.sh -b -p "${HOME}/conda"
source "${HOME}/conda/etc/profile.d/conda.sh"
conda init --all
source "${HOME}/.bash_profile"
conda env create -f environment-prod.yml
conda activate boreholes-prod
sudo boreholes-extract-layers -l -i example/example_borehole_profile.pdf -o example/ -p example/predictions.json
echo "Running pipeline"
boreholes-extract-layers -l -i example/example_borehole_profile.pdf -o example/ -p example/predictions.json
2 changes: 1 addition & 1 deletion environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
- pandas
- levenshtein
- pathlib==1.0.1
- opencv==4.9.0
- opencv-python-headless==4.9.0.80
- python-dotenv==1.0.1
- click==8.1.7
- PyYAML==6.0.1
Expand Down
2 changes: 1 addition & 1 deletion environment-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
- pandas
- levenshtein
- pathlib==1.0.1
- opencv==4.9.0
- opencv-python-headless==4.9.0.80
- python-dotenv==1.0.1
- click==8.1.7
- PyYAML==6.0.1
Expand Down

0 comments on commit f2adb4e

Please sign in to comment.