Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lozac'h Loic
otbtf
Commits
f7aa577b
Commit
f7aa577b
authored
Jan 16, 2019
by
Cresson Remi
Browse files
ADD: CNN tests
parent
9d890972
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/CMakeLists.txt
0 → 100644
View file @
f7aa577b
otb_module_test
()
#----------- Model serving : 1-branch CNN (16x16) ----------------
set
(
ENV{OTB_TF_NSOURCES} 1
)
otb_test_application
(
NAME apTvClTensorflowModelServe1CNN16x16
APP TensorflowModelServe
OPTIONS -source1.il
${
INPUTDATA
}
/
${
IMAGEXS
}
-source1.rfiedx 16 -source1.rfieldy 16 -source1.placeholder x
-model.dir
${
TEMP
}
/
${
MODEL1
}
-output.names y
-out
${
TEMP
}
/
${
MODEL1OUT
}
VALID --compare-image
${
EPSILON_6
}
${
INPUTDATA
}
/
${
MODEL1REF
}
${
TEMP
}
/
${
MODEL1OUT
}
)
#----------- Model serving : 2-branch CNN (8x8, 32x32) ----------------
set
(
ENV{OTB_TF_NSOURCES} 2
)
otb_test_application
(
NAME apTvClTensorflowModelServe1CNN16x16
APP TensorflowModelServe
OPTIONS -source1.il
${
INPUTDATA
}
/
${
IMAGEXS
}
-source1.rfiedx 8 -source1.rfieldy 8 -source1.placeholder x1
-source2.rfiedx 32 -source2.rfieldy 32 -source2.placeholder x2
-model.dir
${
TEMP
}
/
${
MODEL2
}
-output.names y
-out
${
TEMP
}
/
${
MODEL2OUT
}
VALID --compare-image
${
EPSILON_6
}
${
INPUTDATA
}
/
${
MODEL2REF
}
${
TEMP
}
/
${
MODEL2OUT
}
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment