Solved by Poisson_Chasseur in post #2 
              
              
                I found the solution to the problem that has already been solved as presented in the following links: 


Order of CUDA devices 


How to setting the GPU No. for training? 


Gpu devices: nvidia-smi and cuda.get_device_name() output appear inconsistent 


The solution is simply to make the first line…