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

Error while training #257

Open
01fe21bec239 opened this issue May 13, 2024 · 1 comment
Open

Error while training #257

01fe21bec239 opened this issue May 13, 2024 · 1 comment

Comments

@01fe21bec239
Copy link

!bash scripts/DINO_train.sh /content/sample_data/COCODIR
Not using distributed mode
Loading config file from config/DINO/DINO_4scale.py
Traceback (most recent call last):
File "/content/DINO/DINO/DINO/main.py", line 388, in
main(args)
File "/content/DINO/DINO/DINO/main.py", line 96, in main
cfg.dump(save_cfg_path)
File "/content/DINO/DINO/DINO/util/slconfig.py", line 363, in dump
f.write(self.pretty_text)
File "/content/DINO/DINO/DINO/util/slconfig.py", line 317, in pretty_text
text, _ = FormatCode(text, style_config=yapf_style, verify=True)
TypeError: FormatCode() got an unexpected keyword argument 'verify'
while running the above command on my custom data i facing this error pls resolve it(i am using colab for training)

@Ochre-amber
Copy link

pip install yapf==0.40.1

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