IDEA-Research / DINO

[ICLR 2023] Official implementation of the paper "DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection"
Apache License 2.0
2.08k stars 228 forks source link

Error while training #257

Open 01fe21bec239 opened 1 month ago

01fe21bec239 commented 1 month ago

!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 prettytext 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 commented 1 month ago

pip install yapf==0.40.1