Hello Dr.Zhang, thanks for sharing code of great remodiffuse!
when I try to train remodiffuse:
./tools/dist_train.sh configs/remodiffuse/remodiffuse_t2m.py logs/remodiffuse/remodiffuse_t2m 1 --no-validate --gpu-ids 1
Or use this command:
PYTHONPATH=".":$PYTHONPATH python tools/train.py ${CONFIG_FILE} ${WORK_DIR} --no-validate
a weired error ocurred:
/home/zhouyang/anaconda3/envs/mogen/lib/python3.9/site-packages/mmcv/init.py:20: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details.
warnings.warn(
Traceback (most recent call last):
File "/home/zhouyang/task_python/remodiffuse/tools/train.py", line 149, in
main()
File "/home/zhouyang/task_python/remodiffuse/tools/train.py", line 99, in main
cfg.dump(osp.join(cfg.work_dir, osp.basename(args.config)))
File "/home/zhouyang/anaconda3/envs/mogen/lib/python3.9/site-packages/mmcv/utils/config.py", line 596, in dump
f.write(self.pretty_text)
File "/home/zhouyang/anaconda3/envs/mogen/lib/python3.9/site-packages/mmcv/utils/config.py", line 508, in prettytext
text, = FormatCode(text, style_config=yapf_style, verify=True)
TypeError: FormatCode() got an unexpected keyword argument 'verify'
Hello Dr.Zhang, thanks for sharing code of great remodiffuse!
when I try to train remodiffuse: ./tools/dist_train.sh configs/remodiffuse/remodiffuse_t2m.py logs/remodiffuse/remodiffuse_t2m 1 --no-validate --gpu-ids 1 Or use this command: PYTHONPATH=".":$PYTHONPATH python tools/train.py ${CONFIG_FILE} ${WORK_DIR} --no-validate
a weired error ocurred: /home/zhouyang/anaconda3/envs/mogen/lib/python3.9/site-packages/mmcv/init.py:20: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details. warnings.warn( Traceback (most recent call last): File "/home/zhouyang/task_python/remodiffuse/tools/train.py", line 149, in
main()
File "/home/zhouyang/task_python/remodiffuse/tools/train.py", line 99, in main
cfg.dump(osp.join(cfg.work_dir, osp.basename(args.config)))
File "/home/zhouyang/anaconda3/envs/mogen/lib/python3.9/site-packages/mmcv/utils/config.py", line 596, in dump
f.write(self.pretty_text)
File "/home/zhouyang/anaconda3/envs/mogen/lib/python3.9/site-packages/mmcv/utils/config.py", line 508, in prettytext
text, = FormatCode(text, style_config=yapf_style, verify=True)
TypeError: FormatCode() got an unexpected keyword argument 'verify'
I have check the historical error, and i found this: https://github.com/mingyuan-zhang/ReMoDiffuse/issues/3 it seems like still the dump function...
Any response will be appreciated !!!