'How to use CPPFlow with giving a .txt as input

I recently used cppflow on VS 2019 on Windows 10.

My original data is data in 4 columns per row. I want to use neural network to classify precipitation particles. I have trained and saved my model (.pb) on python. Because it is text data in .txt, and the example described in the cppflow document uses pictures as input, I would like to ask what is the function of cppflow input in .txt text?



Solution 1:[1]

Read the .txt file into a std::vector then convert into a cppflow::tensor.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 YScharf