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
c6648dcd
Commit
c6648dcd
authored
Jan 31, 2019
by
Maurice
Browse files
bug fixes
parent
901c50c8
Pipeline
#101714
failed with stages
in 1 minute and 10 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 @
c6648dcd
...
...
@@ -36,6 +36,7 @@ import de.monticore.symboltable.Scope;
import
de.se_rwth.commons.logging.Log
;
import
java.io.IOException
;
import
java.lang.System
;
import
java.nio.file.Path
;
import
java.util.HashMap
;
import
java.util.Map
;
...
...
@@ -91,12 +92,9 @@ public class CNNArch2MxNet implements CNNArchGenerator {
CNNArchCocos
.
checkAll
(
compilationUnit
.
get
());
try
{
String
confPath
=
getModelPath
()
+
"
ConfigChainAutomation.properties
"
;
String
confPath
=
getModelPath
()
+
"
/data_paths.txt
"
;
DataPathConfigParser
newParserConfig
=
new
DataPathConfigParser
(
confPath
);
System
.
out
.
println
(
confPath
);
/*String dataPath = DataPathConfigParser.getDataPath(confPath , rootModelName);*/
String
dataPath
=
newParserConfig
.
getDataPath
(
componentSymbol
.
getFullName
());
System
.
out
.
println
(
dataPath
);
String
dataPath
=
newParserConfig
.
getDataPath
(
rootModelName
);
compilationUnit
.
get
().
getArchitecture
().
setDataPath
(
dataPath
);
compilationUnit
.
get
().
getArchitecture
().
setComponentName
(
rootModelName
);
generateFiles
(
compilationUnit
.
get
().
getArchitecture
());
...
...
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