Error while train a model on my own dataset

i cannot train my own dataset on a model defined on github and i got this error:

Traceback (most recent call last):
  File "train.py", line 230, in <module>
    main()
  File "train.py", line 227, in main
    run(config)
  File "train.py", line 137, in run
    'start_itr': state_dict['itr']})
  File "/content/drive/MyDrive/ME/BigGAN-PyTorch/utils.py", line 573, in get_data_loaders
    load_in_mem=load_in_mem, **dataset_kwargs)
TypeError: 'NoneType' object is not callable

It’s a bit hard to debug this issue and I would suggest to create an issue in the GitHub repository, as the code authors should be more familiar with their code base.
That being said, based on the error message a None object is called, so you could check, which of the methods or arguments is None, while a valid method is expected.

From the error, I feel that there is an error in the data-loader, Please check the dataset and files. then dataloader