cloudpipe / cloudpipe/cloudpickle
cloudpickle can't pickle some Tensorflow 2 Objects
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 195
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 1
Description
I have tried to pickle some objects of Tensorflow 2.0.0 using cloudpickle I get exception.
1. First, I have tried to pickle the Conv2D class (as described in https://www.tensorflow.org/api_docs/python/tf/keras/layers/Conv2D). I got the exception "TypeError: can't pickle _thread._local objects"
2. Afterwards, I also tried to pickle a class inheriting from the Model class of tensorflow.Keras in which had an instance variable of the type tf.keras.optimizers.Adam. In this case, I got an exception: "TypeError: can't pickle _LazyLoader objects".
Is there an issue with pickling Tensorflow 2 objects using cloudpickle? is it supported?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.