Traceback (most recent call last):


 "/home/users/guhan/.local/lib/python3.6/site-packages/tornado/ioloop.py", line 269, in current

return IOLoop._ioloop_for_asyncio[loop]
KeyError: <_UnixSelectorEventLoop running=False closed=False debug=False>

Traceback (most recent call last):

 "deepid_class.py", line 257, in <module>
simple_deepid(learning_rate=0.01, n_epochs=20, dataset=(sys.argv[1], sys.argv[2]), params_file=sys.argv[3], nkerns=[20,40,60,80], batch_size=500, n_hidden=160, n_out=1595, acti_func=relu)

 "deepid_class.py", line 245, in simple_deepid
deepid.build_train_model()

 "deepid_class.py", line 193, in build_train_model
self.y: self.train_set_y[self.index \* self.batch_size : (self.index+1) \* self.batch_size]}

 "/usr/local/lib/python2.7/dist-packages/theano/compile/function.py", line 266, in function
profile=profile)

 "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py", line 489, in pfunc
no_default_updates=no_default_updates)

 "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py", line 217, in rebuild_collect_shared
raise TypeError(err_msg, err_sug)TypeError: ('An update must have the same type as the original shared variable (shared_var=W, shared_var.type=CudaNdarrayType(float32, matrix), update_val=Elemwise{sub,no_inplace}.0, update_val.type=TensorType(float64, matrix)).', 'If the difference is related to the broadcast pattern, you can call the tensor.unbroadcast(var, axis_to_unbroadcast[, ...]) function to remove broadcastable dimensions.')