dual and softmax conf
This commit is contained in:
2
train.py
2
train.py
@@ -119,6 +119,8 @@ def extend_cfg(cfg):
|
||||
cfg.TRAINER.PROMPTSRC.PROMPT_DEPTH_VISION = 9 # Max 12, minimum 0, for 0 it will be using shallow IVLP prompting (J=1)
|
||||
cfg.TRAINER.PROMPTSRC.PROMPT_DEPTH_TEXT = 9 # Max 12, minimum 0, for 0 it will be using shallow IVLP prompting (J=1)
|
||||
cfg.TRAINER.PROMPTSRC.TEXT_LOSS_WEIGHT = 25
|
||||
cfg.TRAINER.PROMPTSRC.TEXT_LOSS_WEIGHT_STRONG = 25 # lambda2: strong text constraint weight
|
||||
cfg.TRAINER.PROMPTSRC.TEXT_LOSS_WEIGHT_WEAK = 2.5 # lambda3: weak text constraint weight
|
||||
cfg.TRAINER.PROMPTSRC.IMAGE_LOSS_WEIGHT = 10
|
||||
cfg.TRAINER.PROMPTSRC.GPA_MEAN = 15
|
||||
cfg.TRAINER.PROMPTSRC.GPA_STD = 1
|
||||
|
||||
Reference in New Issue
Block a user