Skip to content

Commit

Permalink
default projection hidden size for visual ssl to 4096
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Apr 13, 2022
1 parent 8eac5ed commit e3dc768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name = 'x-clip',
packages = find_packages(exclude=[]),
include_package_data = True,
version = '0.4.5',
version = '0.4.6',
license='MIT',
description = 'X-CLIP',
author = 'Phil Wang',
Expand Down
2 changes: 1 addition & 1 deletion x_clip/visual_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def SimSiamMLP(dim, projection_size, hidden_size = 4096):
# and pipe it into the projecter and predictor nets

class NetWrapper(nn.Module):
def __init__(self, net, projection_size, projection_hidden_size = None, layer = -2):
def __init__(self, net, projection_size, projection_hidden_size = 4096, layer = -2):
super().__init__()
self.net = net
self.layer = layer
Expand Down

0 comments on commit e3dc768

Please sign in to comment.