-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathparams.py
24 lines (21 loc) · 825 Bytes
/
params.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import os
import numpy as np
class Params(object):
def __init__(self):
self.EMBEDDING_DIM = None
self.BATCH_SIZE = None
self.NUM_CLASSES = None
self.NUM = None
self.NUM_FILTER = None
self.ETH_MEAN_SHIFT_THRESHOLD = None
self.DELTA_VAR = None
self.DELTA_D = None
self.IMG_SIZE = None
self.BACKBONE = None
self.OUTPUT_SIZE = None
def display_values(self):
print("\nConfigurations:")
for a in dir(self):
if not a.startswith("__") and not callable(getattr(self, a)):
print("{:30} {}".format(a, getattr(self, a)))
print("\n")