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
Running verify PaddlePaddle program ...
I0821 13:44:39.746835 7284 program_interpreter.cc:212] New Executor is Running.
I0821 13:44:39.772833 7284 interpreter_util.cc:624] Standalone Executor is Used.
Traceback (most recent call last):
File "c:\Disk1\git\python_test_project\example_PaddleDetection\test.py", line 3, in <module>
paddle.utils.run_check()
File "C:\Users\chenmohan\anaconda3\envs\PaddleDetection_env\Lib\site-packages\paddle\utils\install_check.py", line 273, in run_check
_run_static_single(use_cuda, use_xpu, use_custom, custom_device_name)
File "C:\Users\chenmohan\anaconda3\envs\PaddleDetection_env\Lib\site-packages\paddle\utils\install_check.py", line 151, in _run_static_single
exe.run(
File "C:\Users\chenmohan\anaconda3\envs\PaddleDetection_env\Lib\site-packages\paddle\base\executor.py", line 1746, in run
res = self._run_impl(
^^^^^^^^^^^^^^^
File "C:\Users\chenmohan\anaconda3\envs\PaddleDetection_env\Lib\site-packages\paddle\base\executor.py", line 1952, in _run_impl
ret = new_exe.run(
^^^^^^^^^^^^
File "C:\Users\chenmohan\anaconda3\envs\PaddleDetection_env\Lib\site-packages\paddle\base\executor.py", line 835, in run
tensors = as_numpy(tensors, copy=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\chenmohan\anaconda3\envs\PaddleDetection_env\Lib\site-packages\paddle\base\executor.py", line 156, in as_numpy
return [as_numpy(t, copy) for t in tensor]
^^^^^^^^^^^^^^^^^
File "C:\Users\chenmohan\anaconda3\envs\PaddleDetection_env\Lib\site-packages\paddle\base\executor.py", line 168, in as_numpy
return np.array(tensor)
^^^^^^^^^^^^^^^^
TypeError: __array__(): incompatible function arguments. The following argument types are supported:
1. (self: paddle.base.libpaddle.Tensor) -> numpy.ndarray
Invoked with: <paddle.base.libpaddle.Tensor object at 0x0000014E881321B0>; kwargs: copy=True
截图如下:
系统信息:
Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz 3.20 GHz
Windows 10 专业版 22H2 19045.4780
Intel集成显卡
16G内存
Running verify PaddlePaddle program ...
I0821 14:04:59.503650 8808 program_interpreter.cc:243] New Executor is Running.
I0821 14:04:59.527164 8808 interpreter_util.cc:648] Standalone Executor is Used.
PaddlePaddle works well on 1 CPU.
PaddlePaddle is installed successfully! Let's start deep learning with PaddlePaddle now.
bug描述 Describe the Bug
conda create --name PaddleDetection_env
conda activate PaddleDetection_env
conda install python
通过 pip install paddlepaddle==2.6.1 安装后,运行 paddle.utils.run_check() 则出现下面的错误:
截图如下:
系统信息:
Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz 3.20 GHz
Windows 10 专业版 22H2 19045.4780
Intel集成显卡
16G内存
conda list
其他补充信息 Additional Supplementary Information
No response
The text was updated successfully, but these errors were encountered: