Skip to content
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

pip install tensorflow 安装之后,运行报错 #74

Open
menglingqian0218 opened this issue Jan 10, 2018 · 3 comments
Open

pip install tensorflow 安装之后,运行报错 #74

menglingqian0218 opened this issue Jan 10, 2018 · 3 comments

Comments

@menglingqian0218
Copy link

D:\软件包\Wechat_AutoJump-master\Wechat_AutoJump-master>python
Python 3.5.2 |Anaconda 4.1.1 (64-bit)| (default, Jul 5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow

D:\软件包\Wechat_AutoJump-master\Wechat_AutoJump-master>python nn_play.py --phone Android --sensitivity 2.035
2018-01-10 22:57:05.429331: I C:\tf_jenkins\home\workspace\rel-win\M\windows\PY\35\tensorflow\core\platform\cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
WARNING:tensorflow:From nn_play.py:72: all_variables (from tensorflow.python.ops.variables) is deprecated and will be removed after 2017-03-02.
Instructions for updating:
Please use tf.global_variables instead.
2018-01-10 22:57:07.835069: W C:\tf_jenkins\home\workspace\rel-win\M\windows\PY\35\tensorflow\core\framework\op_kernel.cc:1192] Invalid argument: Unsuccessful TensorSliceReader constructor: Failed to get matching files on resource\train_logs_coarse/best_model.ckpt-13999: Not found: FindFirstFile failed for: resource/train_logs_coarse : 系统找不到指定的路径。
; No such process

InvalidArgumentError (see above for traceback): Unsuccessful TensorSliceReader constructor: Failed to get matching files on resource\train_logs_coarse/best_model.ckpt-13999: Not found: FindFirstFile failed for: resource/train_logs_coarse : \u03f5\u0373\udcd5\u04b2\udcbb\udcb5\udcbd\u05b8\udcb6\udca8\udcb5\udcc4·\udcbe\udcb6\udca1\udca3
; No such process
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

D:\软件包\Wechat_AutoJump-master\Wechat_AutoJump-master>

@Prinsphield
Copy link
Owner

你重新下载一下最新的代码,另外,注意一下下载好的模型的文件名和路径是否正确

@aqnaruto
Copy link

aqnaruto commented Jan 10, 2018

我也遇到过这个错误,虽然我电脑上有nvidia的显卡,但是我装了cpu版本的才正常。虽说跑成功了但是我那个红米机还是只能跑到80分左右就挂了。这个按压系数 也微调过,有时候能正中靶心,有时候跳的很偏 在边缘。

@pkuanjie
Copy link
Collaborator

调整一下路径,win下是\linux下是/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants