rstrudel / segmenter

[ICCV2021] Official PyTorch implementation of Segmenter: Transformer for Semantic Segmentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

zhubingerdai opened this issue · comments

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.

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

thank you!