Skip to content

Commit

Permalink
Remove duplication between methods loading weights and cleanup code (#…
Browse files Browse the repository at this point in the history
…326)

* Remove unnecessary "run" function usages

* Remove unnecessary "this" qualifier usages

* Simplify getting keras version from the weights file

* Remove duplication between methods loading weights for all or a subset of layers

* Simplify loading weights for frozen layers

* Reorder methods

* Do not mark the model as initialized when the format is unknown

* Extract a single method for loading model weights

* Allow using loadWeightsForFrozenLayersByPathTemplates function for any GraphTrainableModel
  • Loading branch information
juliabeliaeva authored Jan 24, 2022
1 parent 11d4eb1 commit 87be3a1
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 255 deletions.
Loading

0 comments on commit 87be3a1

Please sign in to comment.