scripts/generate_config_jat.py [16:24]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    max_discrete_value=148 + 64,  # 148 (discrete obs from BabyAI) + 64 (max size of BabyAI's text observation)
    tokenizer_class=tokenizer.__class__.__name__,
)
image_processor = CLIPImageProcessor(
    size={"shortest_edge": config.image_size}, crop_size={"height": config.image_size, "width": config.image_size}
)
tokenizer.model_max_length = config.max_position_embeddings
tokenizer.pad_token = tokenizer.eos_token
processor = JatProcessor(tokenizer=tokenizer, image_processor=image_processor)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



scripts/generate_config_jat.py [58:66]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    max_discrete_value=148 + 64,  # 148 (discrete obs from BabyAI) + 64 (max size of BabyAI's text observation)
    tokenizer_class=tokenizer.__class__.__name__,
)
image_processor = CLIPImageProcessor(
    size={"shortest_edge": config.image_size}, crop_size={"height": config.image_size, "width": config.image_size}
)
tokenizer.model_max_length = config.max_position_embeddings
tokenizer.pad_token = tokenizer.eos_token
processor = JatProcessor(tokenizer=tokenizer, image_processor=image_processor)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



