warning fix

This commit is contained in:
Francesco Gatti
2020-04-14 14:26:06 +02:00
parent 29b99f4e61
commit 4a308467e6
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -25,9 +25,10 @@ void downloadWeightsifDoNotExist(const std::string& input_bin, const std::string
std::string wget_cmd = "wget " + weights_url + " -O " + test_folder + "/weights.zip";
std::string unzip_cmd = "unzip " + test_folder + "/weights.zip -d" + test_folder;
std::string rm_cmd = "rm " + test_folder + "/weights.zip";
system(wget_cmd.c_str());
system(unzip_cmd.c_str());
system(rm_cmd.c_str());
int err = 0;
err = system(wget_cmd.c_str());
err = system(unzip_cmd.c_str());
err = system(rm_cmd.c_str());
}
}
+1 -1
View File
@@ -77,6 +77,6 @@ int main() {
out1 += ImuNet.odim1.tot();
}
system("cat path.txt | gnuplot -p -e \"set datafile separator ' '; plot '-'\"");
int err = system("cat path.txt | gnuplot -p -e \"set datafile separator ' '; plot '-'\"");
return ret_cudnn;
}