BOSS icon indicating copy to clipboard operation
BOSS copied to clipboard

TF upgrade 2.10

Open thegodone opened this issue 3 years ago • 3 comments

I try colab demo and get this error

AttributeError: module 'tensorflow_probability.python.bijectors' has no attribute 'AffineScalar'

can you fix it ?

BR

thegodone avatar Oct 15 '22 05:10 thegodone

I change part of the code to which from AffineScalar to Shift and fix a bug in acquisition init import but got Nan's results from your demo code molecule_prediction

thegodone avatar Oct 15 '22 09:10 thegodone

WARNING:tensorflow:From /opt/conda/lib/python3.8/site-packages/boss-0.0.1-py3.8.egg/boss/code/GPflow_wrappers/Batch_SSK.py:25: AffineScalar.init (from tensorflow_probability.python.bijectors.affine_scalar) is deprecated and will be removed after 2020-01-01. Instructions for updating: AffineScalar bijector is deprecated; please use tfb.Shift(loc)(tfb.Scale(...)) instead.

thegodone avatar Oct 16 '22 04:10 thegodone

Same issue when running the demo notebook

yunyuewei avatar Dec 03 '22 03:12 yunyuewei