We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0251fa commit ce51acdCopy full SHA for ce51acd
pix2tex/utils/utils.py
@@ -55,6 +55,7 @@ def parse_args(args, **kwargs) -> Munch:
55
args.update(kwargs)
56
args.wandb = not kwargs.debug and not args.debug
57
args.device = get_device(args, kwargs.no_cuda)
58
+ args.encoder_structure = args.get('encoder_structure', 'hybrid')
59
args.max_dimensions = [args.max_width, args.max_height]
60
args.min_dimensions = [args.get('min_width', 32), args.get('min_height', 32)]
61
if 'decoder_args' not in args or args.decoder_args is None:
0 commit comments