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

运行出错而且快乐八没有预测结果 #40

Open
18931085556 opened this issue Apr 5, 2024 · 2 comments
Open

运行出错而且快乐八没有预测结果 #40

18931085556 opened this issue Apr 5, 2024 · 2 comments

Comments

@18931085556
Copy link

File "C:\Users\71539\AppData\Roaming\Python\Python310\site-packages\tensorflow\python\training\saver.py", line 1599, in _import_meta_graph_with_return_elements
meta_graph_def = meta_graph.read_meta_graph_file(meta_graph_or_file)
File "C:\Users\71539\AppData\Roaming\Python\Python310\site-packages\tensorflow\python\framework\meta_graph.py", line 611, in read_meta_graph_file
raise IOError(f"File does not exist. Received: {filename}.")
OSError: File does not exist. Received: T:\全系列彩票预测\predict_Lottery_ticket-main\predict_Lottery_ticket-main/model//ssq/3/red_ball_model/red_ball_model.ckpt.meta.
(base) PS T:\全系列彩票预测\predict_Lottery_ticket-main\predict_Lottery_ticket-main> python run_predict.py --name ssq kl8
2024-04-05 22:27:23.339476: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
WARNING:tensorflow:From C:\Users\71539\AppData\Roaming\Python\Python310\site-packages\keras\src\losses.py:2976: The name tf.losses.sparse_softmax_cross_entropy is deprecated. Please use tf.compat.v1.losses.sparse_softmax_cross_entropy instead.

WARNING:tensorflow:From T:\全系列彩票预测\predict_Lottery_ticket-main\predict_Lottery_ticket-main\common.py:219: The name tf.disable_eager_execution is deprecated. Please use tf.compat.v1.disable_eager_execution instead.

2024-04-05 22:27:28.448749: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE SSE2 SSE3 SSE4.1 SSE4.2 AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
usage: run_predict.py [-h] [--name NAME] [--windows_size WINDOWS_SIZE] [--cq CQ]
run_predict.py: error: unrecognized arguments: kl8
(base) PS T:\全系列彩票预测\predict_Lottery_ticket-main\predict_Lottery_ticket-main>

@KittenCN
Copy link
Owner

KittenCN commented Apr 6, 2024

你用了哪些参数?是接着之前的训练在继续??
看报错,是有文件不存在,你先看看那个目录有没有这个文件,另外,看看这个目录有没有读写权限,还有不要用中文的目录名

@18931085556
Copy link
Author

谢谢

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

2 participants