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

运行算子失败 #4

Open
hjlllll opened this issue May 23, 2022 · 1 comment
Open

运行算子失败 #4

hjlllll opened this issue May 23, 2022 · 1 comment

Comments

@hjlllll
Copy link

hjlllll commented May 23, 2022

尝试使用最远点采样算子:
if name == 'main':
op1 = DFPS_Sampler()
features = paddle.cast(features, dtype=paddle.float32)
points = paddle.randn([2,16,3],dtype=paddle.float64)
features = paddle.randn([2,16,3],dtype=paddle.float64)
npoint = 4
idx = op1(points ,features, npoint)
出现如下错误:
File "/home/hjl/.cache/paddle_extensions/furthest_point_sample_ops/furthest_point_sample_ops_140434522163008.py", line 46, in furthest_point_sampling_wrapper
_dygraph_tracer().trace_op(type="furthest_point_sampling_wrapper", inputs=ins, outputs=outs, attrs=attrs)
File "/home/hjl/anaconda3/envs/paconv/lib/python3.8/site-packages/paddle/fluid/dygraph/tracer.py", line 43, in trace_op
self.trace(type, inputs, outputs, attrs,
ValueError: vector::reserve

@WhiteFireFox
Copy link
Member

尝试使用最远点采样算子: if name == 'main': op1 = DFPS_Sampler() features = paddle.cast(features, dtype=paddle.float32) points = paddle.randn([2,16,3],dtype=paddle.float64) features = paddle.randn([2,16,3],dtype=paddle.float64) npoint = 4 idx = op1(points ,features, npoint) 出现如下错误: File "/home/hjl/.cache/paddle_extensions/furthest_point_sample_ops/furthest_point_sample_ops_140434522163008.py", line 46, in furthest_point_sampling_wrapper _dygraph_tracer().trace_op(type="furthest_point_sampling_wrapper", inputs=ins, outputs=outs, attrs=attrs) File "/home/hjl/anaconda3/envs/paconv/lib/python3.8/site-packages/paddle/fluid/dygraph/tracer.py", line 43, in trace_op self.trace(type, inputs, outputs, attrs, ValueError: vector::reserve

这个算子它还在test中,等待paddle2.3发布后我们才对他进行test,test过后可能才能用,届时我们会发邮件向你告知。非常抱歉。

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

2 participants