xtuner
xtuner copied to clipboard
[BUG] Can't `xtuner check-custom-dataset` use?
I use the command xtuner check-custom-dataset $CONFIG, and have a error.
Traceback (most recent call last):
File "/xtuner/xtuner/tools/check_custom_dataset.py", line 157, in <module>
main()
File "/xtuner/xtuner/tools/check_custom_dataset.py", line 51, in main
dataset = train_dataset.dataset
File "/data/miniconda3/lib/python3.10/site-packages/mmengine/config/config.py", line 111, in __getattr__
raise AttributeError(f"'{self.__class__.__name__}' object has no "
AttributeError: 'ConfigDict' object has no attribute 'dataset'
what's the reason of it?
Sorry for not replying in time. Could you please have a look at your config file.