CyberAgentAILab / layout-dm

LayoutDM: Discrete Diffusion Model for Controllable Layout Generation [Inoue+, CVPR2023]
https://cyberagentailab.github.io/layout-dm
Apache License 2.0
225 stars 24 forks source link

A problem about visualization when running demo #34

Closed hengrui0516 closed 7 months ago

hengrui0516 commented 9 months ago

First of all, thank you for your excellent work. But when I run the demo: https://github.com/CyberAgentAILab/layout-dm/blob/main/notebooks/demo.ipynb, I meet a confused problem as follows:

企业微信截图_17060813449276

As you can see, I use a hand-made layout to test, 2 regions overlap. But they won't overlap by math computation in theory.

hengrui0516 commented 9 months ago

I only run the first and the third cell. The second cell can be ignored.

hengrui0516 commented 7 months ago

It is due to the decode accuracy of the tokenizer.