microsoft / LayoutGeneration

MIT License
119 stars 17 forks source link

Question about the Element Type Constraint for LayoutPrompter #44

Open Jackieam opened 2 weeks ago

Jackieam commented 2 weeks ago

Thanks for sharing such an awesome research! I have some questions about LayoutPrompter on the content aware layout generation task setting. The code uses randomly selected labels (Element Type Constraint) on the test set as a query generation restriction (labels = random.choice(self.possible_labels)), but I tried it on GPT-4 API and could not achieve the results reported in the paper (That is, given different labels on the test set, the results are different.). So I would like to know how the results reported in the paper generate the test set labels (or Element Type Constraint, like logo | text | text | text | underlay | text) that guide the LLM? Hope you response!

kaoshizhou commented 1 week ago

Hi,

Thanks for your interest in our work. Actually, the test set labels are obtained in the following way:

Hope this can help you, and feel free to ask me if you have any further questions.