-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 'Rank' #16
Comments
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? |
@MengyangPu could you please elaborate on what I need to do in the BSDSDataset class? |
could you tell me how do you solve this problem? |
An incomplete environment may cause the above issue. Please check your environment, especially the following commands: cd EDTER |
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'
The text was updated successfully, but these errors were encountered: