runfile('D:/Spyder/untitled0.py', wdir='D:/Spyder')
Reloaded modules: lazylinker_ext, lazylinker_ext.lazylinker_ext
You can find the C code in this temporary file: C:\Users\CUG_AS\AppData\Local\Temp\theano_compilation_error_reryhjfc
Traceback (most recent call last):
File "<ipython-input-2-13724b0191cb>", line 1, in <module>
runfile('D:/Spyder/untitled0.py', wdir='D:/Spyder')
File "C:\Users\CUG_AS\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
execfile(filename, namespace)
File "C:\Users\CUG_AS\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "D:/Spyder/untitled0.py", line 23, in <module>
y = pm.Bernoulli('y', p=theta, observed=data)
File "C:\Users\CUG_AS\Anaconda3\lib\site-packages\pymc3\distributions\distribution.py", line 46, in __new__
return model.Var(name, dist, data, total_size)
File "C:\Users\CUG_AS\Anaconda3\lib\site-packages\pymc3\model.py", line 856, in Var
total_size=total_size, model=self)
File "C:\Users\CUG_AS\Anaconda3\lib\site-packages\pymc3\model.py", line 1389, in __init__
self.logp_elemwiset = distribution.logp(data)
File "C:\Users\CUG_AS\Anaconda3\lib\site-packages\pymc3\distributions\discrete.py", line 357, in logp
value >= 0, value <= 1,
File "C:\Users\CUG_AS\Anaconda3\lib\site-packages\theano\tensor\var.py", line 59, in __le__
rval = theano.tensor.basic.le(self, other)
File "C:\Users\CUG_AS\Anaconda3\lib\site-packages\theano\gof\op.py", line 670, in __call__
no_recycling=[])
File "C:\Users\CUG_AS\Anaconda3\lib\site-packages\theano\gof\op.py", line 955, in make_thunk
no_recycling)
File "C:\Users\CUG_AS\Anaconda3\lib\site-packages\theano\gof\op.py", line 858, in make_c_thunk
output_storage=node_output_storage)
File "C:\Users\CUG_AS\Anaconda3\lib\site-packages\theano\gof\cc.py", line 1217, in make_thunk
keep_lock=keep_lock)
File "C:\Users\CUG_AS\Anac
uj5u.com熱心網友回復:
Exception: ('Compilation failed (return status=1): C:\\Users\\CUG_AS\\AppData\\Local\\Temp\\cclMA37S.s: Assembler messages:\r. C:\\Users\\CUG_AS\\AppData\\Local\\Temp\\cclMA37S.s:284: Error: invalid register for .seh_savexmm\r. ', '[Elemwise{le,no_inplace}(TensorConstant{[1 0 0 0]}, <TensorType(int8, (True,))>)]')uj5u.com熱心網友回復:
最后報了上面的錯誤碼,完全看不懂轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/113781.html
