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
您好,我准备在模型上加入新的模块,并预备使用Darts框架(一种基于梯度的神经网络搜索架构)进行训练,在这个过程中将会涉及到不同模块的梯度更新公式的修改,以及对不同模块的相应训练迭代次数的设置,在代码中看来我似乎必须对Pytorch_lightning.trainer进行继承和修改?请问是否能在你们这里得到一些建议?不胜感激!
The text was updated successfully, but these errors were encountered:
您好,根据您的描述,你或许可以参考KGELitModel.py文件的内容,新建一个LitModel文件来自定义你的训练流程,你可以在LitModel类中通过self.current_epoch获取当前训练的迭代次数来选取合适的模块。希望这会对你有所帮助。
Sorry, something went wrong.
No branches or pull requests
您好,我准备在模型上加入新的模块,并预备使用Darts框架(一种基于梯度的神经网络搜索架构)进行训练,在这个过程中将会涉及到不同模块的梯度更新公式的修改,以及对不同模块的相应训练迭代次数的设置,在代码中看来我似乎必须对Pytorch_lightning.trainer进行继承和修改?请问是否能在你们这里得到一些建议?不胜感激!
The text was updated successfully, but these errors were encountered: