We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Until dill 0.3.5 it was possible to serialise a tensorflow-probability ExponentiatedQuadratic kernel:
ExponentiatedQuadratic
import dill import tensorflow_probability as tfp kernel = tfp.math.psd_kernels.ExponentiatedQuadratic(1.0) kernel_copy = dill.loads(dill.dumps(kernel)
As of 0.3.7 and 0.3.8 this now fails during unpicklig with:
E NameError: name '_AutoCompositeTensorPsdKernelMeta' is not defined
Setting dill.settings['recurse'] = True changes the error message but doesn't fix it:
dill.settings['recurse'] = True
E TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
Tested with both tensorflow-probability==0.19.0 and tensorflow-probability==0.23.0 (though I don't think ExponentiatedQuadratic has changed recently).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Until dill 0.3.5 it was possible to serialise a tensorflow-probability
ExponentiatedQuadratic
kernel:As of 0.3.7 and 0.3.8 this now fails during unpicklig with:
Setting
dill.settings['recurse'] = True
changes the error message but doesn't fix it:Tested with both tensorflow-probability==0.19.0 and tensorflow-probability==0.23.0 (though I don't think
ExponentiatedQuadratic
has changed recently).The text was updated successfully, but these errors were encountered: