Commit 9b13ea03 authored by Cresson Remi's avatar Cresson Remi
Browse files

fix: change model path in inference test

parent 10893d92
1 merge request!14Update otbtf docker image
Pipeline #57799 failed with stages
in 27 minutes and 14 seconds
Showing with 4 additions and 4 deletions
+4 -4
...@@ -19,8 +19,8 @@ COPY docker/requirements.txt /tmp/requirements.txt ...@@ -19,8 +19,8 @@ COPY docker/requirements.txt /tmp/requirements.txt
RUN python3 -m pip install -r /tmp/requirements.txt RUN python3 -m pip install -r /tmp/requirements.txt
# Build remote modules # Build remote modules
RUN cd /src/otb/otb/Modules/Remote/ && git clone https://gitlab.irstea.fr/remi.cresson/SimpleExtractionTools.git RUN cd /src/otb/otb/Modules/Remote/ && git clone https://forgemia.inra.fr/orfeo-toolbox/otb-simpleextractiontools.git
RUN cd /src/otb/otb/Modules/Remote/ && git clone https://gitlab.irstea.fr/remi.cresson/mlutils.git RUN cd /src/otb/otb/Modules/Remote/ && git clone https://forgemia.inra.fr/orfeo-toolbox/otb-mlutils.git
COPY . /src/otb/otb/Modules/Remote/decloud/ COPY . /src/otb/otb/Modules/Remote/decloud/
RUN cd /src/otb/build/OTB/build && cmake /src/otb/otb/ -DModule_SimpleExtractionTools=ON -DModule_MLUtils=ON -DBUILD_TESTING=OFF -DModule_OTBDecloud=ON RUN cd /src/otb/build/OTB/build && cmake /src/otb/otb/ -DModule_SimpleExtractionTools=ON -DModule_MLUtils=ON -DBUILD_TESTING=OFF -DModule_OTBDecloud=ON
RUN cd /src/otb/build/OTB/build && make -j $(nproc --all) install RUN cd /src/otb/build/OTB/build && make -j $(nproc --all) install
......
...@@ -27,7 +27,7 @@ class InferenceTest(DecloudTest): ...@@ -27,7 +27,7 @@ class InferenceTest(DecloudTest):
baseline_path = self.get_path("baseline/reconstructed_baseline_w_mosaic.tif") baseline_path = self.get_path("baseline/reconstructed_baseline_w_mosaic.tif")
# Model # Model
model_path = self.get_path("models/crga_os2david_occitanie_pretrained") model_path = self.get_path("models/crga_os2_david_116-migration-tensorflow-2_466a1_bt32_bv32_lr7e-05_40gpus")
# Input sources # Input sources
s1_tm1 = [ s1_tm1 = [
...@@ -93,7 +93,7 @@ class InferenceTest(DecloudTest): ...@@ -93,7 +93,7 @@ class InferenceTest(DecloudTest):
baseline_path = self.get_path("baseline/reconstructed_baseline_w_preprocessor.tif") baseline_path = self.get_path("baseline/reconstructed_baseline_w_preprocessor.tif")
# Model # Model
model_path = self.get_path("models/crga_os2david_occitanie_pretrained") model_path = self.get_path("models/crga_os2_david_116-migration-tensorflow-2_466a1_bt32_bv32_lr7e-05_40gpus")
# Input sources # Input sources
s1_tm1 = [ s1_tm1 = [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment