JdeRobot / DetectionMetrics

Tool to evaluate deep-learning detection and segmentation models, and to create datasets
https://jderobot.github.io/DetectionMetrics/
GNU General Public License v3.0
72 stars 38 forks source link

Error while compiling DetectionSuite from source #183

Open hmrishavbandy opened 4 years ago

hmrishavbandy commented 4 years ago

I am getting the following error while I try to build the project with make after build files have been written using Cmake. /home/hmrishav/DetectionSuite/DeepLearningSuite/DeepLearningSuiteLib/DatasetConverters/readers/DatasetReader.cpp: In member function ‘void DatasetReader::SetClasses(const string&)’: /home/hmrishav/DetectionSuite/DeepLearningSuite/DeepLearningSuiteLib/DatasetConverters/readers/DatasetReader.cpp:197:38: error: variable ‘std::ifstream labelFile’ has initializer but incomplete type std::ifstream labelFile(classesFile);

hmrishavbandy commented 4 years ago

Well, i figured that the file DatasetReader.cpp had a header missing. #include<fstream> will be submitting a pull request soon :)