You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The paper is very enlightening, but the code runs with the following problems:
[2023-08-26 18:13:33,076 INFO] Loading dataset from ../data/examples_dataset/train/train.0.json, number of examples: 98
/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py:1070: UserWarning: The following exception is not an EOF exception.
"The following exception is not an EOF exception.")
Traceback (most recent call last):
File "/root/autodl-tmp/SgSum/src/networks/roberta_multigraphextsum/run_graphsum.py", line 319, in main
eval_phase="train", vocab_size=vocab_size)
File "/root/autodl-tmp/SgSum/src/networks/roberta_multigraphextsum/run_graphsum.py", line 499, in evaluate_train
outputs = exe.run(fetch_list=fetch_list)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/parallel_executor.py", line 303, in run
return_numpy=return_numpy)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1071, in run
six.reraise(*sys.exc_info())
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/six.py", line 719, in reraise
raise value
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1066, in run
return_merged=return_merged)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1167, in _run_impl
return_merged=return_merged)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 879, in _run_parallel
tensors = exe.run(fetch_var_names, return_merged)._move_to_list()
paddle.fluid.core_avx.EOFException: There is no next data. at [/paddle/paddle/fluid/operators/reader/read_op.cc:111]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/autodl-tmp/SgSum/src/run_roberta.py", line 37, in
run_multigraphsum(args)
File "/root/autodl-tmp/SgSum/src/networks/roberta_multigraphextsum/run_graphsum.py", line 385, in main
fluid.io.save_persistables(exe, save_path, train_program)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/io.py", line 648, in save_persistables
filename=filename)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/io.py", line 302, in save_vars
filename=filename)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/io.py", line 357, in save_vars
executor.run(save_program)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1071, in run
six.reraise(*sys.exc_info())
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/six.py", line 719, in reraise
raise value
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1066, in run
return_merged=return_merged)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1154, in _run_impl
use_program_cache=use_program_cache)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1229, in _run_program
fetch_var_name)
paddle.fluid.core_avx.EnforceNotMet:
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/framework.py", line 2610, in append_op
attrs=kwargs.get("attrs", None))
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/io.py", line 328, in save_vars
attrs={'file_path': os.path.normpath(save_file_path)})
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/io.py", line 302, in save_vars
filename=filename)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/io.py", line 648, in save_persistables
filename=filename)
File "/root/autodl-tmp/SgSum/src/networks/roberta_multigraphextsum/run_graphsum.py", line 385, in main
fluid.io.save_persistables(exe, save_path, train_program)
File "/root/autodl-tmp/SgSum/src/run_roberta.py", line 37, in
run_multigraphsum(args)
Error Message Summary:
InvalidArgumentError: The Tensor in the save Op's Input Variable X(reduce_sum_6.tmp_0) is not initialized.
[Hint: Expected t->IsInitialized() == true, but received t->IsInitialized():0 != true:1.] at (/paddle/paddle/fluid/framework/operator.cc:1289)
[operator < save > error]
The text was updated successfully, but these errors were encountered:
The paper is very enlightening, but the code runs with the following problems:
[2023-08-26 18:13:33,076 INFO] Loading dataset from ../data/examples_dataset/train/train.0.json, number of examples: 98
/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py:1070: UserWarning: The following exception is not an EOF exception.
"The following exception is not an EOF exception.")
Traceback (most recent call last):
File "/root/autodl-tmp/SgSum/src/networks/roberta_multigraphextsum/run_graphsum.py", line 319, in main
eval_phase="train", vocab_size=vocab_size)
File "/root/autodl-tmp/SgSum/src/networks/roberta_multigraphextsum/run_graphsum.py", line 499, in evaluate_train
outputs = exe.run(fetch_list=fetch_list)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/parallel_executor.py", line 303, in run
return_numpy=return_numpy)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1071, in run
six.reraise(*sys.exc_info())
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/six.py", line 719, in reraise
raise value
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1066, in run
return_merged=return_merged)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1167, in _run_impl
return_merged=return_merged)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 879, in _run_parallel
tensors = exe.run(fetch_var_names, return_merged)._move_to_list()
paddle.fluid.core_avx.EOFException: There is no next data. at [/paddle/paddle/fluid/operators/reader/read_op.cc:111]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/autodl-tmp/SgSum/src/run_roberta.py", line 37, in
run_multigraphsum(args)
File "/root/autodl-tmp/SgSum/src/networks/roberta_multigraphextsum/run_graphsum.py", line 385, in main
fluid.io.save_persistables(exe, save_path, train_program)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/io.py", line 648, in save_persistables
filename=filename)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/io.py", line 302, in save_vars
filename=filename)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/io.py", line 357, in save_vars
executor.run(save_program)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1071, in run
six.reraise(*sys.exc_info())
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/six.py", line 719, in reraise
raise value
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1066, in run
return_merged=return_merged)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1154, in _run_impl
use_program_cache=use_program_cache)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1229, in _run_program
fetch_var_name)
paddle.fluid.core_avx.EnforceNotMet:
C++ Call Stacks (More useful to developers):
0 std::string paddle::platform::GetTraceBackString<std::string const&>(std::string const&, char const*, int)
1 paddle::platform::EnforceNotMet::EnforceNotMet(std::string const&, char const*, int)
2 paddle::framework::OperatorWithKernel::ParseInputDataType(paddle::framework::ExecutionContext const&, std::string const&, paddle::framework::proto::VarType_Type*) const
3 paddle::framework::OperatorWithKernel::IndicateVarDataType(paddle::framework::ExecutionContext const&, std::string const&) const
4 paddle::operators::SaveOp::GetExpectedKernelType(paddle::framework::ExecutionContext const&) const
5 paddle::framework::OperatorWithKernel::ChooseKernel(paddle::framework::RuntimeContext const&, paddle::framework::Scope const&, paddle::platform::Place const&) const
6 paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, paddle::platform::Place const&, paddle::framework::RuntimeContext*) const
7 paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, paddle::platform::Place const&) const
8 paddle::framework::OperatorBase::Run(paddle::framework::Scope const&, paddle::platform::Place const&)
9 paddle::framework::Executor::RunPartialPreparedContext(paddle::framework::ExecutorPrepareContext*, paddle::framework::Scope*, long, long, bool, bool, bool)
10 paddle::framework::Executor::RunPreparedContext(paddle::framework::ExecutorPrepareContext*, paddle::framework::Scope*, bool, bool, bool)
11 paddle::framework::Executor::Run(paddle::framework::ProgramDesc const&, paddle::framework::Scope*, int, bool, bool, std::vector<std::string, std::allocatorstd::string > const&, bool, bool)
Python Call Stacks (More useful to users):
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/framework.py", line 2610, in append_op
attrs=kwargs.get("attrs", None))
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/io.py", line 328, in save_vars
attrs={'file_path': os.path.normpath(save_file_path)})
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/io.py", line 302, in save_vars
filename=filename)
File "/root/miniconda3/envs/sgsum/lib/python3.7/site-packages/paddle/fluid/io.py", line 648, in save_persistables
filename=filename)
File "/root/autodl-tmp/SgSum/src/networks/roberta_multigraphextsum/run_graphsum.py", line 385, in main
fluid.io.save_persistables(exe, save_path, train_program)
File "/root/autodl-tmp/SgSum/src/run_roberta.py", line 37, in
run_multigraphsum(args)
Error Message Summary:
InvalidArgumentError: The Tensor in the save Op's Input Variable X(reduce_sum_6.tmp_0) is not initialized.
[Hint: Expected t->IsInitialized() == true, but received t->IsInitialized():0 != true:1.] at (/paddle/paddle/fluid/framework/operator.cc:1289)
[operator < save > error]
The text was updated successfully, but these errors were encountered: