Open segaranp opened 10 months ago
This will help: https://huggingface.co/docs/datasets/image_load
The easiest way is to ensure you have the following directory/file structure in your dataset folder: configs:
config_name: default data_files:
split: train path: "train"
split: test path: "test"
split: validation path: "validation"
a README.md that includes the above.
Hi,
I'm using this project with my own custom dataset. I created a sample data in the dataset folder as specified in the README.md with a folder for (test/validation/train) with the metadata
Then i ran this command:
python train.py --config config/train_cord.yaml --pretrained_model_name_or_path "naver-clova-ix/donut-base" --dataset_name_or_paths 'C:\ocr\2\donut\dataset' --exp_version "test_experiment"
But i'm getting this error:
Anyone know how to resolve this?