Replies: 1 comment 5 replies
-
Hi, in general, the functionality of |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking at using the code from model.py to create a model that we can retrain. Our idea is to use tensorflow 2.0 keras layers where possible, but to port the code I see that the archs.py has this block of code:
class FactorizedPriorLayer(tf.keras.layers.Layer):
"""Factorized prior to code a discrete tensor."""
def init(self):
"""Instantiate layer."""
super(FactorizedPriorLayer, self).init(name="FactorizedPrior")
self._entropy_model = tfc.EntropyBottleneck(
name="entropy_model")
and it the class Hyperprior
self._side_entropy_model = FactorizedPriorLayer()
The EntropyBottleneck class was removed in commit 89eefc8 so I'm not sure how this code will run? Should I replace that side_entropy_model with NoisyDeepFactorized?
Beta Was this translation helpful? Give feedback.
All reactions