Skip to content Skip to sidebar Skip to footer

(tensorflow On Windows) Setting Up Virtualenv And Path Set By Source Command

I am attempting to train a TensorFlow model in Windows 10 using these steps: https://github.com/tensorflow/models/tree/master/attention_ocr#requirements I have installed virtualenv

Solution 1:

Since you are running TensorFlow on Windows, I would guess that you are using Python 3.x. The StringIO module was removed in Python 3.0, so the code you are running appears not to be compatible with Python 3.x. I would recommend filing an issue on the GitHub repository, but you may be able to fix it by replacing import StringIO with import six, and any uses of StringIO.StringIO with six.StringIO.


Post a Comment for "(tensorflow On Windows) Setting Up Virtualenv And Path Set By Source Command"