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
CNNArch2MXNet
Commits
be626299
Commit
be626299
authored
Jan 31, 2019
by
Hoda Anvari Kazemabad
Browse files
adopted datapath
parent
1630781c
Pipeline
#101682
failed with stages
in 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/cnnarch/mxnetgenerator/CNNArch2MxNet.java
View file @
be626299
...
...
@@ -91,9 +91,11 @@ public class CNNArch2MxNet implements CNNArchGenerator {
CNNArchCocos
.
checkAll
(
compilationUnit
.
get
());
try
{
String
confPath
=
getModelPath
()
+
"/data_paths.txt"
;
String
confPath
=
getModelPath
()
+
"ConfigChainAutomation.properties"
;
DataPathConfigParser
newParserConfig
=
new
DataPathConfigParser
(
confPath
);
System
.
out
.
println
(
confPath
);
String
dataPath
=
DataPathConfigParser
.
getDataPath
(
confPath
,
rootModelName
);
/*String dataPath = DataPathConfigParser.getDataPath(confPath , rootModelName);*/
String
dataPath
=
newParserConfig
.
getDataPath
(
componentSymbol
.
getFullName
());
System
.
out
.
println
(
dataPath
);
compilationUnit
.
get
().
getArchitecture
().
setDataPath
(
dataPath
);
compilationUnit
.
get
().
getArchitecture
().
setComponentName
(
rootModelName
);
...
...
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