Dir Sir or Madam,
The following errors occurred while running your code "is13/examples/elman-keras.py". Could you help me with that?
Thank you.
Traceback (most recent call last):
File "is13/examples/elman-keras.py", line 77, in
model.train_on_batch(X, Y)
File "/home/kevin/.local/lib/python2.7/site-packages/keras/models.py", line 1048, in train_on_batch
class_weight=class_weight)
File "/home/kevin/.local/lib/python2.7/site-packages/keras/engine/training.py", line 1838, in train_on_batch
self._make_train_function()
File "/home/kevin/.local/lib/python2.7/site-packages/keras/engine/training.py", line 997, in _make_train_function
**self._function_kwargs)
File "/home/kevin/.local/lib/python2.7/site-packages/keras/backend/theano_backend.py", line 1233, in function
return Function(inputs, outputs, updates=updates, **kwargs)
File "/home/kevin/.local/lib/python2.7/site-packages/keras/backend/theano_backend.py", line 1219, in init
**kwargs)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/compile/function.py", line 317, in function
output_keys=output_keys)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 486, in pfunc
output_keys=output_keys)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/compile/function_module.py", line 1841, in orig_function
fn = m.create(defaults)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/compile/function_module.py", line 1715, in create
input_storage=input_storage_lists, storage_map=storage_map)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/gof/link.py", line 699, in make_thunk
storage_map=storage_map)[:3]
File "/home/kevin/.local/lib/python2.7/site-packages/theano/gof/vm.py", line 1084, in make_all
impl=impl))
File "/home/kevin/.local/lib/python2.7/site-packages/theano/scan_module/scan_op.py", line 866, in make_thunk
on_unused_input='ignore')
File "/home/kevin/.local/lib/python2.7/site-packages/theano/compile/function.py", line 317, in function
output_keys=output_keys)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/compile/pfunc.py", line 486, in pfunc
output_keys=output_keys)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/compile/function_module.py", line 1841, in orig_function
fn = m.create(defaults)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/compile/function_module.py", line 1715, in create
input_storage=input_storage_lists, storage_map=storage_map)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/gof/link.py", line 699, in make_thunk
storage_map=storage_map)[:3]
File "/home/kevin/.local/lib/python2.7/site-packages/theano/gof/vm.py", line 1084, in make_all
impl=impl))
File "/home/kevin/.local/lib/python2.7/site-packages/theano/gof/op.py", line 955, in make_thunk
no_recycling)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/gof/op.py", line 858, in make_c_thunk
output_storage=node_output_storage)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/gof/cc.py", line 1217, in make_thunk
keep_lock=keep_lock)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/gof/cc.py", line 1157, in compile
keep_lock=keep_lock)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/gof/cc.py", line 1620, in cthunk_factory
key=key, lnk=self, keep_lock=keep_lock)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/gof/cmodule.py", line 1174, in module_from_key
module = lnk.compile_cmodule(location)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/gof/cc.py", line 1523, in compile_cmodule
preargs=preargs)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/gof/cmodule.py", line 2368, in compile_str
return dlimport(lib_filename)
File "/home/kevin/.local/lib/python2.7/site-packages/theano/gof/cmodule.py", line 302, in dlimport
rval = import(module_name, {}, {}, [module_name])
ImportError: ('The following error happened while compiling the node', forall_inplace,cpu,scan_fn}(Shape_i{1}.0, Subtensor{int64:int64:int8}.0, IncSubtensor{InplaceSet;:int64:}.0, Shape_i{1}.0, simple_rnn_1/kernel, simple_rnn_1/recurrent_kernel, InplaceDimShuffle{x,0}.0), '\n', 'The following error happened while compiling the node', Dot22(<TensorType(float32, matrix)>, simple_rnn_1/kernel_copy), '\n', '/home/kevin/.theano/compiledir_Linux-3.8--generic-x86_64-with-Ubuntu-12.04-precise-x86_64-2.7.3-64/tmpRc1mHB/b8e34ea4363b3812bd111a731cb835f81ccc84235ec10367467e6198f7abc278.so: undefined symbol: _gfortran_st_write_done', '[Dot22(<TensorType(float32, matrix)>, simple_rnn_1/kernel_copy)]')