Hi,
I faced a new problem regarding model_zoo regression.py code.
I started to tunning hyperparameter and since I have 4 gpus I used 4 different.py files and run each of them on one GPUs using this command line " os.environ[‘CUDA_VISIBLE_DEVICES’] = ‘gpu_id’". at first, I didn’t have any problem but after 3, 4 runs I get a weird error. This is my error:
RuntimeError: CUDA out of memory. Tried to allocate 938.50 MiB (GPU 0; 11.92 GiB total capacity; 11.23 GiB already allocated; 242.06 MiB free; 10.54 MiB cached)
so when I change GPU id using “os.environ[‘CUDA_VISIBLE_DEVICES’] = ‘1’” my code doesn’t understand it and just use GPU 0 I also reboot my GPU but it’s not working.
I’m wondering if you can help me with this problem.
Thanks,