| 111 | } |
| 112 | |
| 113 | void LoadLabelFile(std::vector<std::string>& result, const char* fname) |
| 114 | { |
| 115 | std::ifstream labels(fname); |
| 116 | |
| 117 | std::string line; |
| 118 | while(std::getline(labels, line)) |
| 119 | result.push_back(line); |
| 120 | } |
| 121 | |
| 122 | void PrintTopLabels(const char* label_file, float* data) |
| 123 | { |
no outgoing calls
no test coverage detected