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

KeyError: 'Global' #191

Open
famersalltheday opened this issue Aug 10, 2024 · 1 comment
Open

KeyError: 'Global' #191

famersalltheday opened this issue Aug 10, 2024 · 1 comment
Assignees

Comments

@famersalltheday
Copy link

Traceback (most recent call last):
File "tools/train.py", line 39, in
main()
File "tools/train.py", line 34, in main
engine = Engine(config, mode="train")
File "D:\PASSL-main\tools\passl\engine\engine.py", line 51, in init
self.task_type = self.config["Global"].get("task_type",
KeyError: 'Global'

请问我在参考官方说明运行的时候出现这个bug,配置文件中并没有Global。 我运行环境是win10

@famersalltheday
Copy link
Author

famersalltheday commented Aug 10, 2024

我运行tools_v110版本:
Traceback (most recent call last):
File "tools_v110/train.py", line 57, in
main(args, cfg)
File "tools_v110/train.py", line 33, in main
trainer = Trainer(cfg)
File "D:\PASSL-main\tools_v110\passl\engine\trainer.py", line 147, in init
cfg.dataloader.train, self.device)
File "D:\tools_v110\passl\datasets\builder.py", line 84, in build_dataloader
loader_cfg = cfg_.pop('loader')
KeyError: 'loader'

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