Open hossein-amirkhani opened 7 years ago
Hi @h-amirkhani!
I think already faced this before. Do you have any GPU monitor program? If yes, try it and see if computation is being done on CPU or GPU. However, TFLearn has a primitive to control the GPU usage.
Try adding the line somewhere above those lines you presented
tflearn.init_graph(num_cores=4,gpu_memory_fraction=0.5)
Hope it helps
I am running the alexnet example. I found out that the running is really slow (1 second for each batch, while I have a 1080 GPU). By changing my code to the following, I got
InvalidArgumentError
.I have the gpu compatible version of tensorflow installed, and there is no problem in using pure tensorflow with gpu. Thanks for your help in advance.