-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building it on Cloud-9. Pywrap_tensorflow not found. #1
Comments
Hmm looks like you are running this on an Ubuntu machine. Have you checked to make sure you've installed the ubuntu version of tensorflow instead of the mac os x version? https://www.tensorflow.org/versions/r0.8/get_started/os_setup.html |
Siraj, I installed the linux version only: I just checked my other tensor flow code is working. For example, I was able to run this fine:import tensorflow as tf a = tf.constant(10) print(sess.run(a + b)) |
Siraj, quickly to share, I am able to start the training process for your code. |
Awesome, glad to hear it! What was the problem? It took me a full day. Keep me updated with your results! |
I moved to the local build as opposed to cloud and it worked there. Now I saw this issues: Traceback (most recent call last): So working on that. Any tips? |
yup, i pushed a fix for that recently, pull the latest from master. It should work now, let me know if it doesn't. |
Sure, I will try again. And just to share I am running the default environment. |
Also, when I start it, it says: |
Hmm libdc1394 is related to OpenCV. Some people have had success by disabling the driver http://stackoverflow.com/questions/12689304/ctypes-error-libdc1394-error-failed-to-initialize-libdc1394 another possible solution is installing OpenCV via Anaconda download anaconda: https://www.continuum.io/downloads
|
Looks like it moved ahead. The simulation ended with this:Training step: 17120 Training step: 17152 memory size: 67152Now do we have to push these to Open-AI evaluations to see the game and graphics? How to do that? |
Siraj, may I know at the end of the simulation the game will start automatically? Somehow it is not happening for me, though looks like Tensor flow is able to train the agent. |
^ hey sorry for the late reply @Eulerianial i went ahead and fixed the readme, you just have to add '--display true' to the command line function when you run it |
Siraj,
While running on a Cloud-IDE, I see the following issue:
libdc1394 error: Failed to initialize libdc1394
Traceback (most recent call last):
File "atari.py", line 5, in
from train import Trainer
File "/home/ubuntu/workspace/Game-AI/train.py", line 2, in
import tensorflow as tf
File "/home/ubuntu/workspace/tensorflow/tensorflow/init.py", line 23, in
from tensorflow.python import *
File "/home/ubuntu/workspace/tensorflow/tensorflow/python/init.py", line 48, in
from tensorflow.python import pywrap_tensorflow
ImportError: cannot import name pywrap_tensorflow
Any clue/tips to help here?
Best,
Vijay
The text was updated successfully, but these errors were encountered: