KeyError: 'Rank'
What would be the solution for an error like this?
Traceback (most recent call last):
File "tools/test.py", line 139, in
trian.py 18 line: os.environ['RANK']='0'
KeyError: 'BSDSDataset is not in the dataset registry'
Can you provide BSDSdataset as well?
Please check BSDSDataset class.
am i supposed to provide the img suffix and seg map suffix?
Please check BSDSDataset class.
@MengyangPu could you please elaborate on what I need to do in the BSDSDataset class?
What would be the solution for an error like this?
Traceback (most recent call last): File "tools/test.py", line 139, in main() File "tools/test.py", line 105, in main init_dist(args.launcher, **cfg.dist_params) File "/data/name/anaconda3/envs/EDTER/lib/python3.8/site-packages/mmcv/runner/dist_utils.py", line 18, in init_dist _init_dist_pytorch(backend, **kwargs) File "/data/name/anaconda3/envs/EDTER/lib/python3.8/site-packages/mmcv/runner/dist_utils.py", line 29, in _init_dist_pytorch rank = int(os.environ['RANK']) File "/data/name/anaconda3/envs/EDTER/lib/python3.8/os.py", line 675, in getitem raise KeyError(key) from None KeyError: 'RANK'
could you tell me how do you solve this problem?
Please check BSDSDataset class.
@MengyangPu could you please elaborate on what I need to do in the BSDSDataset class?
An incomplete environment may cause the above issue. Please check your environment, especially the following commands:
cd EDTER pip install -e . # or "python setup.py develop" pip install -r requirements/optional.txt