Skip to content
New issue

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

TF2 & GPflow 2 #116

Open
javdrher opened this issue Oct 6, 2019 · 4 comments
Open

TF2 & GPflow 2 #116

javdrher opened this issue Oct 6, 2019 · 4 comments

Comments

@javdrher
Copy link
Member

javdrher commented Oct 6, 2019

TF2 was released and currently a new GPflow is being developed as well. TF2 is a major change and it seems to make a lot of things easier.

Looking at the development of GPflow, I believe we will be able to make a compatible version again. Unfortunately, we'll need to redesign and rethink the structure of GPflowOpt:

  • We can delete a lot code, include the awful modelwrapper
  • GPflow 2.0 seems to further decrease the uniformity in the way models deal with data and optimization of hyperparameters. This may still be improved but I don't think we should rely on this.

My idea now is to create an abstract BO class which implements the main flow and calls a bunch of abstract methods along the way. We provide an implementation class for vanilla BO which uses a GPR, more complex strategies are not supported out of the box. Some things to consider:

  • using tf bijectors for scaling
  • Rewrite domain as a tf.Module and use tf optimizers (need a transform for the bounds)?
  • Include tf.summary for TensorBoard
  • Use checkpointing to safeguard long running BO runs against crashes.
@tmuehlen80
Copy link

Hi javdrher, is there maybe any information about updating to tf2 and pgflow2? It would be great, if that is in progress!

@rcameronc
Copy link

rcameronc commented Apr 23, 2020

Hi @javdrher, I second @tmuehlen80 in enthusiasm for a GpflowOpt that is compatible with tf2 and gpflow2! Any updates?

@RafieeAshkan
Copy link

Any update on compatibility with gpflow 2.2?

@icouckuy
Copy link
Contributor

Hi @RafieeAshkan , we are jointly developing Trieste with Secondmind. Trieste is compatible with the latest Tensorflow and GPFlow:
https://github.com/secondmind-labs/trieste

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants