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

win10 模型导出 基于Paddle3D的点云障碍物检测 ERROR - centerpoint_postprocess builded fail! #179

Open
YSYS101010000 opened this issue Dec 27, 2022 · 3 comments
Assignees

Comments

@YSYS101010000
Copy link

YSYS101010000 commented Dec 27, 2022

2022-12-27 19:16:50,720 - INFO - Finish CenterHead Initialization
2022-12-27 19:16:50,780 - INFO - There are 191/191 variables loaded into CenterPoint.
2022-12-27 19:16:51,039 - WARNING - No custom op voxelize found, try JIT build
Compiling user custom op, it will cost a few seconds.....
C:\Users\Administrator\anaconda3\envs\Paddle3D\lib\site-packages\paddle\utils\cpp_extension\extension_utils.py:1206: UserWarning: Failed to check compiler version for cl: [WinError 2] 系
统找不到指定的文件。
warnings.warn('Failed to check compiler version for {}: {}'.format(
2022-12-27 19:16:54,041 - INFO - voxelize builded success!
2022-12-27 19:16:56,617 - WARNING - No custom op centerpoint_postprocess found, try JIT build
Compiling user custom op, it will cost a few seconds.....
C:\Users\Administrator\anaconda3\envs\Paddle3D\lib\site-packages\paddle\utils\cpp_extension\extension_utils.py:1206: UserWarning: Failed to check compiler version for cl: [WinError 2] 系
统找不到指定的文件。
warnings.warn('Failed to check compiler version for {}: {}'.format(
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc.exe' failed with exit code 1
2022-12-27 19:17:04,360 - ERROR - centerpoint_postprocess builded fail!
RuntimeError: In transformed code:

File "d:\pytorch\paddle3d-develop\paddle3d\models\base\base_detection.py", line 55, in forward
    if self.in_export_mode:
File "d:\pytorch\paddle3d-develop\paddle3d\models\base\base_detection.py", line 56, in forward
    return self.export_forward(samples)
File "d:\pytorch\paddle3d-develop\paddle3d\models\detection\centerpoint\centerpoint.py", line 135, in export_forward
    return self.bbox_head.predict_by_custom_op(samples, preds,
File "d:\pytorch\paddle3d-develop\paddle3d\models\detection\centerpoint\center_head.py", line 321, in predict_by_custom_op
    # bboxes, scores, labels = centerpoint_postprocess.centerpoint_postprocess(
    bboxes, scores, labels = centerpoint_postprocess.postprocess(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
        hm, reg, height, dim, vel, rot, test_cfg.voxel_size,
        test_cfg.point_cloud_range, test_cfg.post_center_limit_range,

File "d:\pytorch\paddle3d-develop\paddle3d\ops\__init__.py", line 173, in __getattr__
    module = self._load_module()
File "d:\pytorch\paddle3d-develop\paddle3d\ops\__init__.py", line 159, in _load_module
    self.module = self.jit_build()
File "d:\pytorch\paddle3d-develop\paddle3d\ops\__init__.py", line 146, in jit_build
    return paddle_jit_load(
File "C:\Users\Administrator\anaconda3\envs\Paddle3D\lib\site-packages\paddle\utils\cpp_extension\cpp_extension.py", line 944, in load
    _jit_compile(file_path, verbose)
File "C:\Users\Administrator\anaconda3\envs\Paddle3D\lib\site-packages\paddle\utils\cpp_extension\extension_utils.py", line 1113, in _jit_compile
    run_cmd(compile_cmd, verbose)
File "C:\Users\Administrator\anaconda3\envs\Paddle3D\lib\site-packages\paddle\utils\cpp_extension\extension_utils.py", line 1155, in run_cmd
    raise RuntimeError("Failed to run command: {}, errors: {}".format(

RuntimeError: Failed to run command: <built-in function compile>, errors: Command 'cd /d C:\Users\Administrator\.cache\paddle_extensions && C:\Users\Administrator\anaconda3\envs\Padd

le3D\python.exe centerpoint_postprocess_setup.py build' returned non-zero exit status 1.

@YSYS101010000 YSYS101010000 changed the title win10 模型导出 基于Paddle3D的点云障碍物检测 win10 模型导出 基于Paddle3D的点云障碍物检测 ERROR - centerpoint_postprocess builded fail! Dec 28, 2022
@FlyingQianMM
Copy link
Collaborator

问题收到,我们尽快在windows上复现排查。如有Linux系统,建议可先在linux系统下使用。

@YSYS101010000
Copy link
Author

YSYS101010000 commented Dec 28, 2022

win10 cuda11.1 cudnn8.2 、8.0
paddlepaddle-gpu==2.4.1

@nepeplwu
Copy link
Collaborator

nepeplwu commented Mar 4, 2024

@YSYS101010000 目前很多自定义算子在windows下未经过验证,建议尽量使用linux

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

3 participants