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

你好,我是一个初学者,想问一下出现这个问题是什么原因,如何修改呢 #38

Open
121zzy opened this issue Mar 6, 2024 · 1 comment

Comments

@121zzy
Copy link

121zzy commented Mar 6, 2024

Traceback (most recent call last):
File "train.py", line 75, in
main()
File "train.py", line 53, in main
trainer = R'Trainer_switcher'
KeyError: 'Trainer_switcher'

@Bobholamovic
Copy link
Owner

你好,通过上述报错信息不太容易确定问题的原因。请确认你没有对代码做过改动~ 另外建议在报错的第53行之前print(R.keys())查看注册的组件类型是否符合预期。

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