小明同学很忙
2018-11-22 12:09
采纳率: 0%
浏览 2.1k

paddle训练出现这样的错误,怎么解决?

PaddlePaddle 1.1.0, compiled with

代码:

import paddle.v2 as paddle 

paddle.init(use_gpu=False, trainer_count=1)

x = paddle.layer.data(name='x', type=paddle.data_type.dense_vector(13)) 
y_predict = paddle.layer.fc(input=x, size=1, act=paddle.activation.Linear()) 

probs = paddle.infer( 
    output_layer=y_predict,
    parameters=paddle.dataset.uci_housing.model(), 
    input=[item for item in paddle.dataset.uci_housing.test()()]) 
for i in xrange(len(probs)): 
    print 'Predicted price: ${:,.2f}'.format(probs[i][0] * 1000)

结果:

 I1122 20:00:13.175132  6741 Util.cpp:166] commandline:  --use_gpu=False --trainer_count=1 
Thread [140215415105344] Forwarding __fc_layer_0__, 
*** Aborted at 1542888013 (unix time) try "date -d @1542888013" if you are using GNU date ***
PC: @                0x0 (unknown)
*** SIGILL (@0x7f864f3c368b) received by PID 6741 (TID 0x7f8672026740) from PID 1329346187; stack trace: ***
    @     0x7f8671a68f20 (unknown)
    @     0x7f864f3c368b paddle::CpuMatrix::addBias()
    @     0x7f864f1df7b8 paddle::FullyConnectedLayer::forward()
    @     0x7f864f1394ad paddle::NeuralNetwork::forward()
    @     0x7f864f0bccfd _wrap_GradientMachine_forward
    @     0x55e5af878389 (unknown)
    @     0x55e5af86f8ca (unknown)
    @     0x55e5af8777d3 (unknown)
    @     0x55e5af86f8ca (unknown)
    @     0x55e5af8777d3 (unknown)
    @     0x55e5af88a888 (unknown)
    @     0x55e5af872591 (unknown)
    @     0x55e5af88a888 (unknown)
    @     0x55e5af872591 (unknown)
    @     0x55e5af86f8ca (unknown)
    @     0x55e5af87724e (unknown)
    @     0x55e5af86f8ca (unknown)
    @     0x55e5af87724e (unknown)
    @     0x55e5af86f8ca (unknown)
    @     0x55e5af86f1e9 (unknown)
    @     0x55e5af89fbdf (unknown)
    @     0x55e5af89a952 (unknown)
    @     0x55e5af899dcd (unknown)
    @     0x55e5af84958b (unknown)
    @     0x7f8671a4bb97 __libc_start_main
    @     0x55e5af848e0a (unknown)
    @                0x0 (unknown)

Process finished with exit code 132 (interrupted by signal 4: SIGILL)

1条回答 默认 最新

相关推荐 更多相似问题