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

运行run.py文件时显示tensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files #70

Open
tyty19701998 opened this issue May 26, 2022 · 3 comments

Comments

@tyty19701998
Copy link

Traceback (most recent call last):
File "e:\code1\CasRel-master\run.py", line 57, in
hbt_model.load_weights(save_weights_path)
File "C:\Users\t't't\AppData\Local\Programs\Python\Python310\lib\site-packages\keras\utils\traceback_utils.py", line 67, in error_handler
raise e.with_traceback(filtered_tb) from None
File "C:\Users\t't't\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow\python\training\py_checkpoint_reader.py", line 31, in error_translator
raise errors_impl.NotFoundError(None, None, error_message)
tensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for saved_weights/NYT/best_model.weights
运行run.py文件时报错,显示无法找到该文件,请问best_model.weights文件是如何生成的

@zhangzhenyu-pony
Copy link

Traceback (most recent call last): File "e:\code1\CasRel-master\run.py", line 57, in hbt_model.load_weights(save_weights_path) File "C:\Users\t't't\AppData\Local\Programs\Python\Python310\lib\site-packages\keras\utils\traceback_utils.py", line 67, in error_handler raise e.with_traceback(filtered_tb) from None File "C:\Users\t't't\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow\python\training\py_checkpoint_reader.py", line 31, in error_translator raise errors_impl.NotFoundError(None, None, error_message) tensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for saved_weights/NYT/best_model.weights 运行run.py文件时报错,显示无法找到该文件,请问best_model.weights文件是如何生成的

你好,请问解决了吗,我也遇到相同的问题,大佬求解答

@32209056
Copy link

同问,请问解决了吗

@youngsasa2021
Copy link

同问

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