Open otsebriy opened 2 years ago
Hello @otsebriy! Same error (AssertionError) here, did you manage to find a solution? I downloaded the WDSR weights though with no problem.
Hi! I think I managed to solve the AssertionError.
According to this https://www.reddit.com/r/tensorflow/comments/dn0hjv/applying_weight_normalization_layer_in_tf_2/, you need to modify the conv2d_weightnorm
function in the following way :
def conv2d_weightnorm(filters, kernel_size, padding='same', activation=None, **kwargs): return Conv2D(filters, kernel_size, padding=padding, activation=activation, **kwargs)
For me it worked!
Now I get a ValueError: axes don't match array
error when loading the weights though...
AssertionError Traceback (most recent call last)