Skip to content

Commit

Permalink
Explicitly add text_emb_layers to model_args.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohjingyu committed Oct 27, 2023
1 parent 8216fea commit 6b183ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ def main_worker(gpu, ngpus_per_node, args):
model_args = models.GILLArgs()
model_args.opt_version = args.opt_version
model_args.visual_encoder = args.visual_model
model_args.text_emb_layers = [-1]
model_args.freeze_lm = True
model_args.freeze_vm = True
model_args.n_visual_tokens = args.n_visual_tokens
Expand Down

0 comments on commit 6b183ac

Please sign in to comment.