ElieAljalbout / Clustering-with-Deep-learning

Generic implementation for clustering with deep learning : representation learning (DNN) + clustering
291 stars 81 forks source link

type error #12

Closed dnnguifever closed 5 years ago

dnnguifever commented 6 years ago

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=TensorType(float32, matrix), update_val=Elemwise{add,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.')

Have you ever seen an error like this before?

Thanks!

yangyuchen0340 commented 6 years ago

maybe set floatX=float32 in ~/.theanorc

ratheraarif commented 5 years ago

kindly give me a detailed procedure to run the code.. step by step