zhong-al commited on
Commit
e9086ff
·
1 Parent(s): eb6e1dd

Reorder kwargs

Browse files
Files changed (1) hide show
  1. configuration_x3d.py +2 -3
configuration_x3d.py CHANGED
@@ -6,12 +6,11 @@ class X3DConfig(PretrainedConfig):
6
  model_type = "x3d"
7
 
8
  def __init__(self, **kwargs):
9
- super().__init__(**kwargs)
10
-
11
  path = kwargs.get("path", None)
12
  gpu_num = kwargs.get("gpu_num", 0)
13
 
14
- print(kwargs)
15
 
16
  self.cfg = load_config(path)
17
  self.cfg.NUM_GPUS = gpu_num
 
6
  model_type = "x3d"
7
 
8
  def __init__(self, **kwargs):
9
+ print(kwargs)
 
10
  path = kwargs.get("path", None)
11
  gpu_num = kwargs.get("gpu_num", 0)
12
 
13
+ super().__init__(**kwargs)
14
 
15
  self.cfg = load_config(path)
16
  self.cfg.NUM_GPUS = gpu_num