Hello, I wanna konw the purpose of create_image_of_text
SZhanZ opened this issue · 2 comments
SZhanZ commented
kohjingyu commented
Actually, this code is just for visualization purposes, it writes the image and the generated caption into Tensorboard outputs (https://github.com/kohjingyu/fromage/blob/main/fromage/evaluate.py#L180-L190). It is not used in the forward pass of the model.
Hope that makes sense!
SZhanZ commented
okay~ thanks alot