xtuner icon indicating copy to clipboard operation
xtuner copied to clipboard

[BUG] Can't `xtuner check-custom-dataset` use?

Open amulil opened this issue 2 years ago • 1 comments

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?

amulil avatar Nov 20 '23 11:11 amulil

Sorry for not replying in time. Could you please have a look at your config file.

HIT-cwh avatar Nov 30 '23 06:11 HIT-cwh