Paddle paddle 动态图运行出core

kuhbmx9i  于 2021-11-29  发布在  Java
关注(0)|答案(0)|浏览(253)

paddle1.5.0

Traceback (most recent call last):
File "train_dygraph.py", line 258, in
train_net()
File "train_dygraph.py", line 223, in train_net
out = net(img)
File "/home/work/.jumbo/lib/python2.7/site-packages/paddle/fluid/dygraph/layers.py", line 162, incall
outputs = self.forward(inputs)
File "/home/work/.jumbo/lib/python2.7/site-packages/paddle/fluid/dygraph/parallel.py", line 148, in forward
return self._layers(inputs,kwargs)
File "/home/work/.jumbo/lib/python2.7/site-packages/paddle/fluid/dygraph/layers.py", line 162, in
call

outputs = self.forward(inputs)
File "/home/ssd8/prnet-paddle/models/hrnet_dygraph.py", line 550, in forward
x = self.last_layer(x)
File "/home/work/.jumbo/lib/python2.7/site-packages/paddle/fluid/dygraph/layers.py", line 162, incall
outputs = self.forward(inputs)
File "/home/ssd8/prnet-paddle/models/hrnet_dygraph.py", line 214, in forward
x=layer.forward(x)
File "/home/work/.jumbo/lib/python2.7/site-packages/paddle/fluid/dygraph/nn.py", line 238, in forward
'use_mkldnn': False,
File "/home/work/.jumbo/lib/python2.7/site-packages/paddle/fluid/dygraph/layer_object_helper.py", line 52, in append_op
stop_gradient=stop_gradient)
File "/home/work/.jumbo/lib/python2.7/site-packages/paddle/fluid/framework.py", line 1739, in append_op
kwargs.get("stop_gradient", False))
File "/home/work/.jumbo/lib/python2.7/site-packages/paddle/fluid/dygraph/tracer.py", line 59, in trace_op
framework._current_expected_place(), stop_gradient)
paddle.fluid.core_avx.EnforceNotMet: at [/paddle/paddle/fluid/imperative/tracer.cc:95]
PaddlePaddle Call Stacks:
0 0x7fbf35a6f6a0p void paddle::platform::EnforceNotMet::Init<char const
>(char const
, char const*, int) + 352
1 0x7fbf35a6fa19p paddle::platform::EnforceNotMet::EnforceNotMet(std::__exception_ptr::exception_ptr, char const*, int) + 137
2 0x7fbf35c718c5p
3 0x7fbf35c72b9bp
4 0x7fbf35b5da45p
5 0x7fbf35aa2cdep
6 0x7fbf9c20f414p PyEval_EvalFrameEx + 25956
7 0x7fbf9c210160p PyEval_EvalCodeEx + 2240
8 0x7fbf9c20e4d1p PyEval_EvalFrameEx + 22049
9 0x7fbf9c210160p PyEval_EvalCodeEx + 2240
10 0x7fbf9c20e4d1p PyEval_EvalFrameEx + 22049
11 0x7fbf9c210160p PyEval_EvalCodeEx + 2240

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题