Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otbtf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lozac'h Loic
otbtf
Commits
f7aa577b
Commit
f7aa577b
authored
Jan 16, 2019
by
Cresson Remi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ADD: CNN tests
parent
9d890972
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
test/CMakeLists.txt
test/CMakeLists.txt
+28
-0
No files found.
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