diff --git a/setup.py b/setup.py index 9d44ad1..b0a6cc1 100644 --- a/setup.py +++ b/setup.py @@ -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', diff --git a/x_clip/visual_ssl.py b/x_clip/visual_ssl.py index c836446..eb5aec3 100644 --- a/x_clip/visual_ssl.py +++ b/x_clip/visual_ssl.py @@ -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