Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Create a tensor file in C [OpenCV]

$
0
0
Hi, I should create a txt file that represent a tensor in Torch... This is my problem: In a .c file (but I can also use C++ language and I don't know how it is possible...) I have to create a file that can be read in another file .lua with torch.load() function... My problem is that: how can I write the byte of an image in a txt file? Thanks in advance.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>