Open alonsopg opened 7 years ago
I think there is a different issue track talking about this. The way that people suggested is to make sure your tensorflow verion is 1.0.0. I was using AWS GPU instance and got the same error, wasn't able to fix it even though I downgraded my tensorflow to 1.0.0. I since migrated to Google Cloud, and installed tensforflow-gpu 1.0.0. This error went away, so you can try and see if it works for you.
I am facing the same issue. What to modify in order to run it with tensorflow 1.1 ?
I have given a pull request to resolve this error in tensorflow 1.3 library https://github.com/tensorflow/tensorflow/pull/13445 You can modify your files seeing it
I have found on another Issues page the following work around
setattr(tf.contrib.rnn.GRUCell, 'deepcopy', lambda self, : self) setattr(tf.contrib.rnn.BasicLSTMCell, 'deepcopy', lambda self, : self) setattr(tf.contrib.rnn.MultiRNNCell, 'deepcopy', lambda self, _: self)
(See https://github.com/tensorflow/tensorflow/issues/11157: maxim5 his comment)
thanks @zwep ! it's work well !
Just add three lines at first few lines.
It works well for me and I have spend a few hours on the problem, StackOverflow saves me and I love it soooooo much! ps. You'd better type it word by word instead of copy lines from zwep's answer because the copied version will miss simbol '__' and your bug remain unfixed.
https://stackoverflow.com/questions/44855603/typeerror-cant-pickle-thread-lock-objects-in-seq2seq
I am checking the notebooks and while I was running:
I got:
Any idea of how to fix it?...