Commit be626299 authored by Hoda Anvari Kazemabad's avatar Hoda Anvari Kazemabad
Browse files

adopted datapath

parent 1630781c
Pipeline #101682 failed with stages
in 27 seconds
...@@ -91,9 +91,11 @@ public class CNNArch2MxNet implements CNNArchGenerator { ...@@ -91,9 +91,11 @@ public class CNNArch2MxNet implements CNNArchGenerator {
CNNArchCocos.checkAll(compilationUnit.get()); CNNArchCocos.checkAll(compilationUnit.get());
try{ try{
String confPath = getModelPath() + "/data_paths.txt"; String confPath = getModelPath() + "ConfigChainAutomation.properties";
DataPathConfigParser newParserConfig = new DataPathConfigParser(confPath);
System.out.println(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); System.out.println(dataPath);
compilationUnit.get().getArchitecture().setDataPath(dataPath); compilationUnit.get().getArchitecture().setDataPath(dataPath);
compilationUnit.get().getArchitecture().setComponentName(rootModelName); compilationUnit.get().getArchitecture().setComponentName(rootModelName);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment