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
I have stumbled upon an error when running test_segmentation_infer.py with PaddlePaddle built on Debug. The problem doesn't exist when PaddlePaddle is built on RelWithDebInfo.
python3.10: /mnt/drive/PaddlePaddle/Paddle/build/third_party/eigen3/src/extern_eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h:146: bool Eigen::TensorEvaluator<const Eigen::TensorAssignOp<LhsXprType, RhsXprType>, Device>::evalSubExprsIfNeeded(Eigen::TensorEvaluator<const Eigen::TensorAssignOp<LhsXprType, RhsXprType>, Device>::EvaluatorPointerType) [with LeftArgType = Eigen::TensorMap<Eigen::Tensor<int, 4, 1, long int>, 0, Eigen::MakePointer>; RightArgType = const Eigen::TensorConversionOp<int, const Eigen::TensorTupleReducerOp<Eigen::internal::ArgMaxTupleReducer<Eigen::Tuple<long int, float> >, const std::array<long int, 1>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 0, Eigen::MakePointer> > >; Device = Eigen::DefaultDevice; Eigen::TensorEvaluator<const Eigen::TensorAssignOp<LhsXprType, RhsXprType>, Device>::EvaluatorPointerType = int*]: Assertion `dimensions_match(m_leftImpl.dimensions(), m_rightImpl.dimensions())' failed.
Aborted (core dumped)
sfraczek@sfraczek-X299:/mnt/drive/PaddlePaddle/PaddleTest/inference/python_api_test/test_int8_model$ Process Process-1:
Traceback (most recent call last):
File "/home/sfraczek/.local/lib/python3.10/site-packages/psutil/_common.py", line 443, in wrapper
ret = self._cache[fun]
AttributeError: 'Process' object has no attribute '_cache'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/sfraczek/.local/lib/python3.10/site-packages/psutil/_pslinux.py", line 1645, in wrapper
return fun(self, *args, **kwargs)
File "/home/sfraczek/.local/lib/python3.10/site-packages/psutil/_common.py", line 446, in wrapper
return fun(self)
File "/home/sfraczek/.local/lib/python3.10/site-packages/psutil/_pslinux.py", line 1687, in _parse_stat_file
data = bcat("%s/%s/stat" % (self._procfs_path, self.pid))
File "/home/sfraczek/.local/lib/python3.10/site-packages/psutil/_common.py", line 776, in bcat
return cat(fname, fallback=fallback, _open=open_binary)
File "/home/sfraczek/.local/lib/python3.10/site-packages/psutil/_common.py", line 764, in cat
with _open(fname) as f:
File "/home/sfraczek/.local/lib/python3.10/site-packages/psutil/_common.py", line 728, in open_binary
return open(fname, "rb", buffering=FILE_READ_BUFFER_SIZE)
FileNotFoundError: [Errno 2] No such file or directory: '/proc/228972/stat'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/mnt/drive/PaddlePaddle/PaddleTest/inference/python_api_test/test_int8_model/backend/monitor.py", line 135, in cpu_stat_func
stat_info.cpu_percent(),
File "/home/sfraczek/.local/lib/python3.10/site-packages/psutil/__init__.py", line 999, in cpu_percent
pt2 = self._proc.cpu_times()
File "/home/sfraczek/.local/lib/python3.10/site-packages/psutil/_pslinux.py", line 1645, in wrapper
return fun(self, *args, **kwargs)
File "/home/sfraczek/.local/lib/python3.10/site-packages/psutil/_pslinux.py", line 1836, in cpu_times
values = self._parse_stat_file()
File "/home/sfraczek/.local/lib/python3.10/site-packages/psutil/_pslinux.py", line 1652, in wrapper
raise NoSuchProcess(self.pid, self._name)
psutil.NoSuchProcess: process no longer exists (pid=228972)
Hi,
I have stumbled upon an error when running
test_segmentation_infer.py
with PaddlePaddle built onDebug
. The problem doesn't exist when PaddlePaddle is built onRelWithDebInfo
.command
python3.10 test_segmentation_infer.py --model_path=models/human_pp_humansegv2_mobile_192x192_inference_model_with_softmax/ --dataset='human' --dataset_config=configs/humanseg_dataset.yaml --device=CPU --use_mkldnn=True --cpu_threads=10 --model_name=PP-HumanSegV2-Lite
Error message:
PaddlePaddle commit
PaddleTest commit
The text was updated successfully, but these errors were encountered: