Commit 570a0db1 authored by Christopher Jan-Steffen Brix's avatar Christopher Jan-Steffen Brix
Browse files

Merge branch 'oneclick_nn_training' of...

Merge branch 'oneclick_nn_training' of git.rwth-aachen.de:monticore/EmbeddedMontiArc/generators/EMADL2CPP into oneclick_nn_training
parents c67a1cf8 40d080a0
Pipeline #101657 failed with stages
in 26 seconds
......@@ -234,7 +234,7 @@ public class EMADLGenerator {
String parsedFullName = componentInstance.getFullName().substring(0, 1).toLowerCase() + componentInstance.getFullName().substring(1).replaceAll("\\.", "_");
String trainerScriptName = "CNNTrainer_" + parsedFullName + ".py";
String trainingPath = getGenerationTargetPath() + trainerScriptName;
String pythonExe = "/home/christopher/anaconda3/bin/python";
String pythonExe = "/usr/bin/python";
if(Files.exists(Paths.get(trainingPath))){
ProcessBuilder pb = new ProcessBuilder(Arrays.asList(pythonExe, trainingPath)).inheritIO();
Process p = pb.start();
......
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