| 17 | public: |
| 18 | int num_classes = 0; |
| 19 | dataSetClc(std::string image_dir, std::string type){ |
| 20 | load_data_from_folder(image_dir, std::string(type), image_paths, labels, num_classes-1); |
| 21 | } |
| 22 | // Override get() function to return tensor at location index |
| 23 | torch::data::Example<> get(size_t index) override{ |
| 24 | std::string image_path = image_paths.at(index); |
nothing calls this directly
no test coverage detected