TensorFlow-Examples
TensorFlow-Examples copied to clipboard
gpu memory usage
when i use nvidia-smi to watch gpu usage,
I have three gpus, but it seems like only one gpu is used?
the default gpu value on these examples is set at one, unless you explicitly declare otherwise. Im not super familiar with these packages, but thats the issue I had when I ran this.
Hope that helps, cheers
the code defines the number of gpu, and in line 134, the for loop uses the gpus.
when I run the code, my code did'nt run the train_op, so this code works, and load the model to predict also works. many thaks!