Skip to content
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

ncnn模型 #33

Closed
Hank0223 opened this issue Jun 10, 2020 · 3 comments
Closed

ncnn模型 #33

Hank0223 opened this issue Jun 10, 2020 · 3 comments

Comments

@Hank0223
Copy link

tnn支援ncnn的模型嗎?

@neiltian-tencent
Copy link
Collaborator

目前tnn可以解析ncnn大部分模型,但有一小部分op还没有覆盖到,这个还需要完善。

@Hank0223
Copy link
Author

還需要做模型的轉換嗎?
轉成tnn的格式,還是能直接使用

@neiltian-tencent
Copy link
Collaborator

可以直接用,struct PUBLIC ModelConfig {
// 配置为MODEL_TYPE_NCNN
ModelType model_type
// ncnn need two: params: order is param, weights。
std::vectorstd::string params = {};
};
即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants