When we try to train the model on the downloaded dataset, we constantly encounter this error. We are confused about the file path error because we have already changed the root_dir variable to a local directory in config.py for every model. It seems that the dataset can load files correctly but there is something wrong with PIL.
hm /is/rg/avg... is a path on our system. Somewhere it must be still hardcoded in the code.
You can debug to see where it comes from and replace it with your paths.
Dear Authors,
When we try to train the model on the downloaded dataset, we constantly encounter this error. We are confused about the file path error because we have already changed the
root_dir
variable to a local directory inconfig.py
for every model. It seems that the dataset can load files correctly but there is something wrong with PIL.Thanks so much for the reply!