strongdiamond

Results 3 comments of strongdiamond

the following code does not work from keras.layers import Input from keras.models import Model ip = Input(shape=(32, 32, 3)) x = augmented_conv2d(ip, filters=20, kernel_size=(3, 3), depth_k=0.2, depth_v=0.2, # dk/v (0.2)...

File "d:\demo\vscode_tt7920\vscodeTensor\ISAJinanMapping\augument\attn_augconv.py", line 241, in rel_to_abs * col_pad = K.zeros(K.stack([B, Nh, L, 1])) File "C:\Anaconda3\envs\tf_gpu2d10B\lib\site-packages\keras\backend.py", line 1674, in zeros ** v = tf.zeros(shape=shape, dtype=tf_dtype, name=name) TypeError: is out of scope...