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

关于 public Model read_model(string model_path, Tensor weights);方法的修改建议 #19

Open
xhndg opened this issue Jan 5, 2024 · 1 comment

Comments

@xhndg
Copy link

xhndg commented Jan 5, 2024

首先感谢作者之前解答我的疑惑。
建议将core类里的public Model read_model(string model_path, Tensor weights);方法的形参model_path改名为model。
因为该参数传入的是xml文件里的字符,而不是xml文件的路径。

@guojin-yan
Copy link
Owner

好的,感谢。

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

2 participants