-
- Downloads
Replace SequentialLayer with Sequential Model
The Sequentiallayer was introducing more problems than the ones it solved. Unfortunately, the old checkpoints will not be compatible but they can be easily converted using: ```python old_model = tf.keras.models.load_model() new_model = bob.learn.tensorflow.models.incepetion_resenet_v2.IncepetionResnetV2() new_model.set_weights(old_model.get_weights) new_model.save(".../new_checkpoint") ```
parent
4f80284c
No related branches found
No related tags found
Showing
- bob/learn/tensorflow/models/inception_resnet_v1.py 47 additions, 93 deletionsbob/learn/tensorflow/models/inception_resnet_v1.py
- bob/learn/tensorflow/models/inception_resnet_v2.py 68 additions, 44 deletionsbob/learn/tensorflow/models/inception_resnet_v2.py
- bob/learn/tensorflow/utils/keras.py 0 additions, 65 deletionsbob/learn/tensorflow/utils/keras.py
- doc/py_api.rst 0 additions, 1 deletiondoc/py_api.rst
Loading
Please register or sign in to comment