tensorgirl commited on
Commit
81dc951
·
1 Parent(s): a221e9d

Update augvit_model.py

Browse files
Files changed (1) hide show
  1. augvit_model.py +1 -1
augvit_model.py CHANGED
@@ -141,7 +141,7 @@ class AUGViT(Model):
141
  # )
142
  # x = tf.concat([cls_tokens, x], axis=1)
143
  # print(x.shape,cls_tokens.shape )
144
- x += self.pos_embedding[:, :(n + 1)]
145
  print(x.shape)
146
  x = self.dropout(x, training=training)
147
  print(x.shape)
 
141
  # )
142
  # x = tf.concat([cls_tokens, x], axis=1)
143
  # print(x.shape,cls_tokens.shape )
144
+ x += self.pos_embedding[:, :(n )]
145
  print(x.shape)
146
  x = self.dropout(x, training=training)
147
  print(x.shape)