Commit 30f84313 authored by nilsfreyer's avatar nilsfreyer

minor bug fixes

parent 89f8039f
Pipeline #110025 passed with stage
in 3 minutes and 15 seconds
...@@ -74,7 +74,7 @@ public class IntegrationCaffe2Test extends AbstractSymtabTest { ...@@ -74,7 +74,7 @@ public class IntegrationCaffe2Test extends AbstractSymtabTest {
public void testDontRetrain1() { public void testDontRetrain1() {
// The training hash is stored during the first training, so the second one is skipped // The training hash is stored during the first training, so the second one is skipped
Log.getFindings().clear(); Log.getFindings().clear();
String[] args = {"-m", "src/test/resources/models/", "-r", "simplesimpleCifar10.Cifar10Classifier", "-b", "CAFFE2"}; String[] args = {"-m", "src/test/resources/models/", "-r", "simpleCifar10.Cifar10Classifier", "-b", "CAFFE2"};
EMADLGeneratorCli.main(args); EMADLGeneratorCli.main(args);
assertTrue(Log.getFindings().isEmpty()); assertTrue(Log.getFindings().isEmpty());
......
...@@ -46,7 +46,7 @@ public class IntegrationMXNetTest extends AbstractSymtabTest { ...@@ -46,7 +46,7 @@ public class IntegrationMXNetTest extends AbstractSymtabTest {
private void createHashFile() { private void createHashFile() {
try { try {
cifarTrainingHashFile.toFile().getParentFile().mkdirs(); cifarTrainingHashFile.toFile().getParentFile().mkdirs();
List<String> lines = Arrays.asList("AF9A637D700CB002266D20BF242F4A59#27150AFBB0093AE0914C701ECA0E0040#C4C23549E737A759721D6694C75D9771#5AF0CE68E408E8C1F000E49D72AC214A"); List<String> lines = Arrays.asList("39253EC049D4A4E5FA0536AD34874B9D#1DBAEE1B1BD83FB7CB5F70AE91B29638#C4C23549E737A759721D6694C75D9771#5AF0CE68E408E8C1F000E49D72AC214A");
Files.write(cifarTrainingHashFile, lines, Charset.forName("UTF-8")); Files.write(cifarTrainingHashFile, lines, Charset.forName("UTF-8"));
} }
catch(Exception e) { catch(Exception e) {
......
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