MCPcopy Create free account
hub / github.com/HobbitLong/PyContrast / __init__

Method __init__

pycontrast/options/base_options.py:7–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5class BaseOptions(object):
6
7 def __init__(self):
8 self.initialized = False
9 self.parser = None
10 self.opt = None
11 # config for predefined method
12 self.override_dict = {
13 'InsDis': ['RGB', False, 'bank', 'A', 'linear', 0.07],
14 'CMC': ['CMC', False, 'bank', 'C', 'linear', 0.07],
15 'MoCo': ['RGB', False, 'moco', 'A', 'linear', 0.07],
16 'PIRL': ['RGB', True, 'bank', 'A', 'linear', 0.07],
17 'MoCov2': ['RGB', False, 'moco', 'B', 'mlp', 0.2],
18 'CMCv2': ['CMC', False, 'moco', 'E', 'mlp', 0.2],
19 'InfoMin': ['RGB', True, 'moco', 'D', 'mlp', 0.15],
20 }
21
22 def initialize(self, parser):
23 # specify folder

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected