microsoft / nni

An open source AutoML toolkit for automate machine learning lifecycle, including feature engineering, neural architecture search, model compression and hyper-parameter tuning.
https://nni.readthedocs.io
MIT License
14k stars 1.81k forks source link

TypeError: forward() takes 2 positional arguments but 3 were given #5618

Open huajianxiaowanzi opened 1 year ago

huajianxiaowanzi commented 1 year ago

NNI 学生项目问题概述 / General Question of Student Program

请简要概述您的问题 / 观点 : TypeError: forward() takes 2 positional arguments but 3 were given

请提供 NNI 环境信息 : nni Environment :

image image image

请问怎么我可以怎么解决它?