We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
请问用pytorch训的resnet18 二分类模型怎么得到mge模型呀
The text was updated successfully, but these errors were encountered:
能了解一下这件事的最终目的或者更多的细节信息吗? 如果只是单纯转换可以使用torch2mge的转换器,https://github.com/MegEngine/torch2mge
Sorry, something went wrong.
需要在转换器的第46行处增加两行代码,如下: if tk == "compute_mode" or tk == "param_dim": continue
if tk == "compute_mode" or tk == "param_dim": continue
修改后效果如 https://github.com/cqchu/torch2mge/blob/master/convert.py#L46 所示
No branches or pull requests
请问用pytorch训的resnet18 二分类模型怎么得到mge模型呀
The text was updated successfully, but these errors were encountered: