Open s0min-park opened 3 years ago
Are you running it on cpu ?
I believe you can change the hardcoded parameter in L3 of the yml scripts, for example, L3 of eval_cityscapes.yml
. I set it to 4 to use all 4 GPUs I have.
However, a follow up question I have is, is there a way we can specify the gpu ids we would like to use? is this something we can configure here?
L112: train.py
Dear authors, thank you for sharing your code.
I have been following your direction to run model with Cityscape datasets and faced with "AttributeError: module 'torch._C' has no attribute '_cuda_setDevice'".
It is in File "train.py", line 298, in
torch.cuda.set_device(args.local_rank)
After searching about the issue, I guess I should edit command not to use GPU or something, but I am not sure how to do that. Thank you very much.