fixed some small bugus
This commit is contained in:
@@ -66,8 +66,9 @@ else()
|
||||
-fstack-protector-all
|
||||
|
||||
-g3
|
||||
#-O2
|
||||
-O2
|
||||
-march=native
|
||||
|
||||
)
|
||||
endif()
|
||||
|
||||
@@ -97,6 +98,7 @@ ADD_EXECUTABLE(
|
||||
# needed external libraries
|
||||
TARGET_LINK_LIBRARIES(
|
||||
${PROJECT_NAME}
|
||||
stdc++fs
|
||||
# gtest
|
||||
# pthread
|
||||
)
|
||||
|
||||
8
main.cpp
8
main.cpp
@@ -241,12 +241,12 @@ Stats::Statistics<float> run(Settings::DataSetup setup, int numFile, std::string
|
||||
|
||||
/* plot in gp file */
|
||||
std::ofstream plotFile;
|
||||
plotFile.open(evalDir + "/" + std::to_string(numFile) + "_" + std::to_string(t) + ".gp");
|
||||
plotFile.open(evalDir.string() + "/" + std::to_string(numFile) + "_" + std::to_string(t) + ".gp");
|
||||
plot.saveToFile(plotFile);
|
||||
plotFile.close();
|
||||
|
||||
//save also a png image, just for a better overview
|
||||
plot.printOverview(evalDir + "/" + std::to_string(numFile) + "_" + std::to_string(t));
|
||||
plot.printOverview(evalDir.string() + "/" + std::to_string(numFile) + "_" + std::to_string(t));
|
||||
plot.plot();
|
||||
|
||||
return errorStats;
|
||||
@@ -260,9 +260,9 @@ int main(int argc, char** argv) {
|
||||
Stats::Statistics<float> statsQuantil;
|
||||
Stats::Statistics<float> tmp;
|
||||
|
||||
std::string evaluationName = "museum/Path3_Museum_KLD_SimpleDistance";
|
||||
std::string evaluationName = "museum/tmp";
|
||||
|
||||
for(int i = 0; i < 100; ++i){
|
||||
for(int i = 0; i < 1; ++i){
|
||||
|
||||
//TODO: in transition die distance über KLD noch einkommentieren als Test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user