-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
where can i find ncnn docs? #307
Comments
@nihui, is there available APIs docs entirely for user ? |
@nihui, i was confused for some APIs. how can i load model from memory buffer. Code likes as follow is there an overloaded interface such like these, directly loading model from allocated buffer? |
Another question is read from concatenated model file as given follow #include "net.h" I tested this manner to load models, but got errors from sample code. |
about second question |
@nihui, how can i get blob index from given name string? i checked the code, what i found is the net protected member function find_blob_index_by_name, but it can not be used outside. |
for loading concatenated model buffer, i am not sure where can i find the matching member function load_param_bin/load_model with args (void* buffer)? It seems not to be implemented in current released version? did i make a mistake? |
blob index enum can be lookuped up in xxx.id.h file, which is generated during ncnn2mem |
@nihui, thanks a lot. when i converted caffe model into ncnn, i finally found the blob index enum. Now i can get any blob with enum value. But if given a model loaded in memory buffer, how can i access the top/bottom blob with implicit index. In this manner, i can wrapped my modeling process as general api for any supported model. |
@nihui, for buffer loaded from load_param_bin(unsigned char*), I cannot find the overloaded api. Is it same to load buffer from load_param?? |
@nihui, i have figured out this problem. thanks |
I used and tested ncnn for modeling deep learning application, but it is unclear for me to dive into all APIs and framework of ncnn library. Is this available now for public guidance?
The text was updated successfully, but these errors were encountered: