Does TensorFlow plan to support OpenCL?

I am under the impression that TF only supports CUDA. From my research, the only way to get it to support OpenCL and AMD GPUs is to get a separate “adapter” module such as TF Coriander and suffer through the performance failure: From the GitHub: for the recurrent networks, Coriander is around 4 times slower … Read more

TensorFlow: how is dataset.train.next_batch defined?

The mnist object is returned from the read_data_sets() function defined in the tf.contrib.learn module. The mnist.train.next_batch(batch_size) method is implemented here, and it returns a tuple of two arrays, where the first represents a batch of batch_size MNIST images, and the second represents a batch of batch-size labels corresponding to those images. The images are returned … Read more

TensorfloTensorflow installation error: not a supported wheel on this platformw installation error: not a supported wheel on this platform

I too got the same problem. I downloaded get-pip.py from https://bootstrap.pypa.io/get-pip.py and then ran python2.7 get-pip.py for installing pip2.7. And then ran the pip install command with python2.7 as follows. For Ubuntu/Linux: For Mac OS X: This should work just fine as it did for me 🙂 I followed these instructions from here.

How to change python version in Anaconda?

A better (recommended) alternative is to create a virtual environment of the desired Python version and then use that environment to run Tensorflow and other scripts. To do that, you can follow the instructions given here. BUT, if you don’t want to create a separate environment, then conda install python=<version> should do. OR (not recommended) you can download the … Read more

Install pip for python 3.5

Check: /usr/local/lib/python3.5/dist-packages You’ll either have Pip there or easy_install(part of Pythons setup tools), which can be used to install Pip: Or you can try: Another option is attempting to install from a repository, the package name depends on your distribution: Edit: Try this correction for easy install: I’m assuming that’s the directory it’s installed to. Also, … Read more