Skip to content

Implement transfer learning functionality in TensorFlowTransform. #951

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

Closed
zeahmed opened this issue Sep 19, 2018 · 0 comments
Closed

Implement transfer learning functionality in TensorFlowTransform. #951

zeahmed opened this issue Sep 19, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@zeahmed
Copy link
Contributor

zeahmed commented Sep 19, 2018

There are couple of hurdles in implementing a transfer learning scenario (where tf model is actually modified) using TF#.

  • [SOLVED] There is no way to serialized TF model back to file using TF C-API (also TF#).
  • It seems impossible to load checkpoint models using C-API (also TF#) because the graph saved with checkpoint models is saved in meta_graph format for which straightforward API is currently missing to load/save.
  • When using frozen model, there are no training ops like optimizations or loss operations. Also, frozen model don't have variables because those are converted into constant while the model is frozen. So, frozen models can't be retrained.
  • When using un-frozen model (saved with simple_save method in python), training operations must be included in the graph so that training can happen from TensorFlowTransform.
@zeahmed zeahmed self-assigned this Sep 19, 2018
@shauheen shauheen added the enhancement New feature or request label Sep 27, 2018
@zeahmed zeahmed changed the title Develop a POC for training tensorflow model using TF#. Implement model Transfer learning functionality in TensorFlowTransform. Sep 27, 2018
@zeahmed zeahmed changed the title Implement model Transfer learning functionality in TensorFlowTransform. Implement transfer learning functionality in TensorFlowTransform. Sep 27, 2018
@zeahmed zeahmed closed this as completed Oct 9, 2018
@ghost ghost locked as resolved and limited conversation to collaborators Mar 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants