rstrudel / segmenter

[ICCV2021] Official PyTorch implementation of Segmenter: Transformer for Semantic Segmentation
MIT License
842 stars 174 forks source link

ValueError: DATASET is not defined in the os variables, it is required for data loading. #45

Closed zhubingerdai closed 2 years ago

zhubingerdai commented 2 years ago

hi,Why is this error reported during training? Have DATASET folder.ValueError: DATASET is not defined in the os variables, it is required for data loading.

rjgpinel commented 2 years ago

Hi @zhubingerdai,

It looks like you are missing the $DATASET OS variable.

As you can read on the installation section of the README.md of this repository, you need to define the OS environment variable pointing to the directory where you store the datasets.

You could do that by adding the following line in your .bashrc file with the corresponding directory:

export DATASET=/path/to/dataset/dir
zhubingerdai commented 2 years ago

thank you!