Hi,
I have replaced "tf.device("cpu"):" with "tf.device("/device:gpu:0"):" everywhere in the code, but it still is giving the error of "Default AvgPoolingOp only supports NHWC on device type CPU".
The code is still considering the machine as CPU instead of GPU.
Please tell the possible issues or solutions.
Hi,
I have replaced "tf.device("cpu"):" with "tf.device("/device:gpu:0"):" everywhere in the code, but it still is giving the error of "Default AvgPoolingOp only supports NHWC on device type CPU".
The code is still considering the machine as CPU instead of GPU.
Please tell the possible issues or solutions.