facebookresearch/ParlAI

Script to render Images and captions

Open

#2.066 geöffnet am 7. Okt. 2019

Auf GitHub ansehen
 (11 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (2.089 Forks)batch import
CS5152EnhancementHelp WantedMediumdonotreap

Repository-Metriken

Stars
 (10.371 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Is your feature request related to a problem? Please describe. Related to a sub-task of #2021. It would be useful to have a script to generate images and their captions. Something of this sort has already been done for chit-chat in #2035 (Updates in #2059) and can be used for reference.

Describe the solution you'd like The high level idea is the same as for conversation rendering:

  • Generate an HTML string to do this
  • Use headless chrome to get a PDF
  • Use headless chrome to get png

Additional context @klshuster Could you provide a fixed format to process the data like there was in convo_render ? Also a rough vision of how you would want it to look like would be great. An idea would be: A polaroid like box in the center of the screen (grey/white background) with the caption in messenger blue below the image.

Contributor Guide