ncnn
ncnn copied to clipboard
No example code for DataReader with Python?
As far as I can tell, there's no Python code in the examples or tests folder that utilizes the DataReader API. This is unfortunate, both from a test coverage perspective and from a documentation perspective. Could an example program be added that shows how to use the DataReader API from Python? (I'm most interested in feeding ncnn a model that's stored in a Python bytes, but other examples would certainly be welcome too.)
@JeremyRand Maybe you can use load_param_mem/load_model_mem to load param/model from Python bytes.
@JeremyRand Did you find any example to see how to read a model from bytes?