yenchenlin / DeepLearningFlappyBird

Flappy Bird hack using Deep Reinforcement Learning (Deep Q-learning).
MIT License
6.65k stars 2.04k forks source link

Crashes on launch on Mac #6

Closed imikay closed 8 years ago

imikay commented 8 years ago

Hi,

DeepLearningFlappyBird crashes on launch on Mac OS X EI Captian, here is the error log:

tensorflow.python.framework.errors.NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for bird-dqn-30000

yenchenlin commented 8 years ago

Hello, I developed it on Mac OS, and it still works well for me. What's your TensorFlow version?

imikay commented 8 years ago

The version of TensorFlow is 0.5.0

$ pip show tensorflow

Metadata-Version: 2.0 Name: tensorflow Version: 0.5.0 Summary: TensorFlow helps the tensors flow Home-page: http://tensorflow.com/ Author: Google Inc. Author-email: opensource@google.com License: Apache 2.0 Location: /usr/local/lib/python2.7/site-packages Requires: six, numpy Classifiers: Development Status :: 4 - Beta Intended Audience :: Developers Intended Audience :: Education Intended Audience :: Science/Research License :: OSI Approved :: Apache Software License Programming Language :: Python :: 2.7 Topic :: Scientific/Engineering :: Mathematics Topic :: Software Development :: Libraries :: Python Modules Topic :: Software Development :: Libraries Entry-points: [console_scripts] tensorflow_model_cifar10_eval = tensorflow.models.image.cifar10.cifar10_eval:main tensorflow_model_cifar10_multi_gpu_train = tensorflow.models.image.cifar10.cifar10_multi_gpu_train:main tensorflow_model_cifar10_train = tensorflow.models.image.cifar10.cifar10_train:main tensorboard = tensorflow.tensorboard.tensorboard:main tensorflow_model_mnist_convolutional = tensorflow.models.image.mnist.convolutional:main

imikay commented 8 years ago

Hi, Should I upgrade my TensorFlow version? The current version is 0.7, should I use this version instead?

yenchenlin commented 8 years ago

Yes please, see this relevant PR #2

yenchenlin commented 8 years ago

I've updated the README, this project may need TensorFlow 0.7

imikay commented 8 years ago

Ok, thanks.

yenchenlin commented 8 years ago

If this works, would you please close this issue? Thanks.

imikay commented 8 years ago

Sure.

imikay commented 8 years ago

It works now after I upgraded to TensorFlow 0.7, thanks.

yenchenlin commented 8 years ago

:+1: