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

Migrate to TF2.x API #55

Open
1 task
remicres opened this issue Dec 20, 2022 · 0 comments
Open
1 task

Migrate to TF2.x API #55

remicres opened this issue Dec 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@remicres
Copy link
Owner

I don't have the time right now to do that, but it should not be complicated. External contributions are welcome to develop this feature!

Benefits

  • Code easier to maintain
  • Less code, simpler code thanks to OTBTF's ModelBase class (Built on top of keras.model)
  • Training will benefit from keras framework, hence
    • Validation after each epoch,
    • Model saving strategies (e.g. save best model depending on one validation metric),
    • Training strategies (decay, early stopping, etc)
    • etc

TODOs

  • Refactor the model to work using TensorFlow V2 API and OTBTF: the new model must inherit from ModelBase from OTBTF
    • An example how to implement a FCNN model using OTBTF ModelBase here
    • An example how to implement GAN in tf.keras.model here
@remicres remicres added the enhancement New feature or request label Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant