Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sébastien Peillet
otb
Commits
7592e770
Commit
7592e770
authored
7 years ago
by
Guillaume Pasero
Browse files
Options
Downloads
Patches
Plain Diff
TEST: new tests for DR applications
parent
5a7fc8ef
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Modules/Applications/AppDimensionalityReduction/test/CMakeLists.txt
+55
-12
55 additions, 12 deletions
...plications/AppDimensionalityReduction/test/CMakeLists.txt
with
55 additions
and
12 deletions
Modules/Applications/AppDimensionalityReduction/test/CMakeLists.txt
+
55
−
12
View file @
7592e770
...
...
@@ -38,15 +38,58 @@ otb_test_application(NAME apTvFEDimensionalityReductionPCA
${
BASELINE
}
/bfTvPCAImageFilter3.tif
${
TEMP
}
/apTvChDimensionalityReductionPCA.tif
)
#----------- TrainDimensionalityReduction TESTS ----------------
otb_test_application
(
NAME apTvDrTrainDimensionalityReductionAE
APP TrainDimensionalityReduction
OPTIONS -io.vd
${
INPUTDATA
}
/cuprite_samples.sqlite
-io.out
${
TEMP
}
/cuprite_DRModel.ae
-feat value_0 value_1 value_2 value_3 value_4 value_5 value_6 value_7 value_8 value_9
-algorithm autoencoder
-algorithm.autoencoder.nbneuron 8
-algorithm.autoencoder.regularization 0.01
-algorithm.autoencoder.noise 0
-algorithm.autoencoder.rho 0
-algorithm.autoencoder.beta 0
)
#-------------------------------------------------------------------------------
set
(
algos ae pca som
)
set
(
ae_params
-algorithm autoencoder
-algorithm.autoencoder.nbneuron 8
-algorithm.autoencoder.regularization 0.01
-algorithm.autoencoder.noise 0
-algorithm.autoencoder.rho 0
-algorithm.autoencoder.beta 0
)
set
(
pca_params
-algorithm pca
-algorithm.pca.dim 8
)
set
(
som_params
-algorithm som
-algorithm.som.s 10 10
-algorithm.som.n 3 3
-algorithm.som.ni 10
)
foreach
(
algo
${
algos
}
)
string
(
TOUPPER
${
algo
}
ualgo
)
#------------------ TrainDimensionalityReduction TESTS------------------------
otb_test_application
(
NAME apTvDrTrainDimensionalityReduction
${
ualgo
}
APP TrainDimensionalityReduction
OPTIONS -io.vd
${
INPUTDATA
}
/cuprite_samples.sqlite
-io.out
${
TEMP
}
/cuprite_DRModel.
${
algo
}
-io.stats
${
INPUTDATA
}
/cupriteStats.xml
-feat value_0 value_1 value_2 value_3 value_4 value_5 value_6 value_7 value_8 value_9
${${
algo
}
_params
}
)
#------------------ ImageDimensionalityReduction TESTS------------------------
otb_test_application
(
NAME apTvDrImageDimensionalityReduction
${
ualgo
}
APP ImageDimensionalityReduction
OPTIONS -in
${
INPUTDATA
}
/cupriteSubHsi.tif
-model
${
TEMP
}
/cuprite_DRModel.
${
algo
}
-imstat
${
INPUTDATA
}
/cupriteStats.xml
-out
${
TEMP
}
/cupriteReduced_
${
algo
}
.tif
)
set_tests_properties
(
apTvDrImageDimensionalityReduction
${
ualgo
}
PROPERTIES DEPENDS apTvDrTrainDimensionalityReduction
${
ualgo
}
)
#------------------ VectorDimensionalityReduction TESTS-----------------------
otb_test_application
(
NAME apTvDrVectorDimensionalityReduction
${
ualgo
}
APP VectorDimensionalityReduction
OPTIONS -in
${
INPUTDATA
}
/cuprite_samples.sqlite
-model
${
TEMP
}
/cuprite_DRModel.
${
algo
}
-instat
${
INPUTDATA
}
/cupriteStats.xml
-out
${
TEMP
}
/cupriteReduced_
${
algo
}
.sqlite
-feat value_0 value_1 value_2 value_3 value_4 value_5 value_6 value_7 value_8 value_9
)
set_tests_properties
(
apTvDrVectorDimensionalityReduction
${
ualgo
}
PROPERTIES DEPENDS apTvDrTrainDimensionalityReduction
${
ualgo
}
)
endforeach
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment