-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ERNIE中的text_generation训练报错 #910
Labels
wontfix
This will not be worked on
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reopen it. Thank you for your contributions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
配置信息:device: 0, GPU Compute Capability: 6.1, Driver API Version: 12.2, Runtime API Version: 11.2
报错信息:
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
if arr.dtype == np.object:
ERROR: 06-16 14:18:42: custom_static_generation_trainer.py:113 * 14080 traceback.format_exc():Traceback (most recent call last):
File "D:\lenovo\ERNIE\ERNIE\applications\tasks\text_generation\trainer\custom_static_generation_trainer.py", line 55, in do_train
self.train_exe.run(fetch_list=[], return_numpy=True)
File "D:\tool\anaconda3\envs\erine-demo\lib\site-packages\paddle\fluid\parallel_executor.py", line 307, in run
return_numpy=return_numpy)
File "D:\tool\anaconda3\envs\erine-demo\lib\site-packages\paddle\fluid\executor.py", line 1262, in run
six.reraise(*sys.exc_info())
File "D:\tool\anaconda3\envs\erine-demo\lib\site-packages\six.py", line 719, in reraise
raise value
File "D:\tool\anaconda3\envs\erine-demo\lib\site-packages\paddle\fluid\executor.py", line 1260, in run
return_merged=return_merged)
File "D:\tool\anaconda3\envs\erine-demo\lib\site-packages\paddle\fluid\executor.py", line 1415, in _run_impl
return_merged=return_merged)
File "D:\tool\anaconda3\envs\erine-demo\lib\site-packages\paddle\fluid\executor.py", line 1065, in _run_parallel
tensors = exe.run(fetch_var_names, return_merged)._move_to_list()
ValueError: In user code:
The text was updated successfully, but these errors were encountered: