Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
CNNArch2Gluon
Commits
8c65e1c3
Commit
8c65e1c3
authored
Apr 03, 2019
by
Nicola Gatto
Browse files
Fix: Data dir needs a leading slash
parent
287791c5
Pipeline
#116077
passed with stages
in 5 minutes and 27 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
8c65e1c3
...
...
@@ -8,7 +8,7 @@
<groupId>
de.monticore.lang.monticar
</groupId>
<artifactId>
cnnarch-gluon-generator
</artifactId>
<version>
0.1.
3-SNAPSHOT
</version>
<version>
0.1.
4
</version>
<!-- == PROJECT DEPENDENCIES ============================================= -->
...
...
src/main/resources/templates/gluon/CNNCreator.ftl
View file @
8c65e1c3
...
...
@@ -20,7 +20,7 @@ class MyConstant(mx.init.Initializer):
class
$
{
tc
.fileNameWithoutEnding
}
:
_data_dir_ = "$
{
tc
.dataPath
}
"
_data_dir_ = "$
{
tc
.dataPath
}
/
"
_model_dir_ = "model/$
{
tc
.componentName
}
/"
_model_prefix_ = "model"
_input_names_ = [$
{
tc
.join
(
tc
.architectureInputs
,
","
,
"'"
,
"'"
)}
]
...
...
src/test/resources/architectures/data_paths.txt
View file @
8c65e1c3
VGG16 data/VGG16/
CifarClassifierNetwork data/CifarClassifierNetwork/
ThreeInputCNN_M14 data/ThreeInputCNN_M14/
Alexnet data/Alexnet/
MultipleOutputs data/MultipleOutputs/
ResNeXt50 data/ResNeXt50/
\ No newline at end of file
VGG16 data/VGG16
CifarClassifierNetwork data/CifarClassifierNetwork
ThreeInputCNN_M14 data/ThreeInputCNN_M14
Alexnet data/Alexnet
MultipleOutputs data/MultipleOutputs
ResNeXt50 data/ResNeXt50
\ No newline at end of file
src/test/resources/valid_tests/data_paths.txt
View file @
8c65e1c3
VGG16 data/VGG16/
CifarClassifierNetwork data/CifarClassifierNetwork/
ThreeInputCNN_M14 data/ThreeInputCNN_M14/
Alexnet data/Alexnet/
MultipleOutputs data/MultipleOutputs/
ResNeXt50 data/ResNeXt50/
\ No newline at end of file
VGG16 data/VGG16
CifarClassifierNetwork data/CifarClassifierNetwork
ThreeInputCNN_M14 data/ThreeInputCNN_M14
Alexnet data/Alexnet
MultipleOutputs data/MultipleOutputs
ResNeXt50 data/ResNeXt50
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment