LIP-JPPNet-TensorFlow icon indicating copy to clipboard operation
LIP-JPPNet-TensorFlow copied to clipboard

how to run on many gpu?

Open josearangos opened this issue 4 years ago • 2 comments

Dear @minar09

I would like to know what I have to modify in the code to be able to execute the file evaluate_parsing_JPPNet-s2.py on 2 GPUs image As can be seen in the photo, GPU 0 is at its maximum capacity, while GPU 1 is not.

Thanks

josearangos avatar Dec 21 '20 20:12 josearangos

Hi @josearangos , I am not sure whether it will work but you can try uncommenting this line https://github.com/minar09/LIP-JPPNet-TensorFlow/blob/ce669ad73daab753b1b664b07b87bd89cb175bbe/evaluate_parsing_JPPNet-s2.py#L9 in to something like this: os.environ["CUDA_VISIBLE_DEVICES"] = "0,1"

minar09 avatar Dec 22 '20 03:12 minar09

Thanks @minar09 but not worked

josearangos avatar Dec 23 '20 13:12 josearangos