Skip to content

Commit

Permalink
Fixed error with Pyyaml version
Browse files Browse the repository at this point in the history
  • Loading branch information
AmbroxMr committed Jul 18, 2023
1 parent b29e591 commit 2d95884
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 28 deletions.
3 changes: 3 additions & 0 deletions deployment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ RUN apt-get install -y libgeos-dev

RUN pip install --only-binary :all: rasterio==1.3.7
RUN pip install --upgrade pip

# https://github.com/yaml/pyyaml/issues/724#issuecomment-1638636728
RUN pip install "cython<3.0.0" && pip install --no-build-isolation pyyaml==5.4.1

RUN pip install -r requirements.txt
# Port for GRPC
EXPOSE 5000
Expand Down
56 changes: 28 additions & 28 deletions training/files/deploy_landcover.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,61 +29,61 @@ spec:
- name: MLFLOW_S3_IGNORE_TLS
value: "true"
- name: MLFLOW_S3_ENDPOINT_URL
value: "http://192.168.219.2:9000"
value: ""
- name: MLFLOW_TRACKING_URI
value: "http://192.168.219.71:32001"
value: ""
- name: AWS_ACCESS_KEY_ID
value: mlops-am
value: ""
- name: AWS_SECRET_ACCESS_KEY
value: A8PnM4Bk9r9y5A69bRb
value: ""
- name: MINIO_HOST
value: "192.168.219.2"
value: ""
- name: MINIO_PORT
value: "9000"
value: ""
- name: MINIO_ACCESS_KEY
value: mlops-am
value: ""
- name: MINIO_SECRET_KEY
value: A8PnM4Bk9r9y5A69bRb
value: ""
- name: MINIO_BUCKET_NAME_PRODUCTS
value: etc-products
value: ""
- name: MINIO_BUCKET_NAME_ASTER
value: aster-gdem-aspect-slope
value: ""
- name: MINIO_BUCKET_NAME_DEM
value: aster-gdem-unzip
value: ""
- name: MINIO_BUCKET_MODELS
value: etc-models
value: ""
- name: MINIO_BUCKET_CLASSIFICATIONS
value: etc-classifications
value: ""
- name: MINIO_DATA_FOLDER_NAME
value: mlops-base-model
value: ""
- name: MONGO_HOST
value: "192.168.219.5"
value: ""
- name: MONGO_PORT
value: "27017"
value: ""
- name: MONGO_USERNAME
value: root
value: ""
- name: MONGO_PASSWORD
value: kha0sd3v
value: ""
- name: MONGO_DB
value: products_database
value: ""
- name: MONGO_PRODUCTS_COLLECTION
value: products_collection
value: ""
- name: TMP_DIR
value: "/home/files/tmp"
value: ""
- name: SPRING_START
value: "2021-03-01"
value: ""
- name: SPRING_END
value: "2021-04-30"
value: ""
- name: SUMMER_START
value: "2021-06-01"
value: ""
- name: SUMMER_END
value: "2021-07-31"
value: ""
- name: AUTUMN_START
value: "2021-10-01"
value: ""
- name: AUTUMN_END
value: "2021-11-30"
value: ""
- name: LAND_COVER_MODEL_FOLDER
value: "land-cover"
value: ""
resources:
requests:
memory: "4Gi"
Expand Down

0 comments on commit 2d95884

Please sign in to comment.