my traindata["frames"] is always [] , help me
Opened this issue · 7 comments
│ ❱ 376 │ W, H = traindata["frames"][0]["image"].size │
│ 377 │ # W, H = traindata["W"], traindata["H"] │
│ 378 │ │
│ 379 │ for camkey in presetdata: │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
IndexError: list index out of range
rgb_cond = Image.open(args.image)
add: rgb_cond=rgb_cond.resize((512,512))
If the aspect ratio of the image is too large, some errors will occur in luciddreamer.py(334 -354)
rgb_cond = Image.open(args.image)
添加: rgb_cond=rgb_cond.resize((512,512))
如果图像的纵横比过大,luciddreamer.py(334 -354)中会出现一些错误
thank you! thank you! it works!
and why my pic is 1280720,but the result looks like 512512, Can this result be changed?
@iYuqinL 没看懂,你看起来已经生成出结果了,你有生成出obj文件吗?它的obj文件需要特殊的网页才能看,如果没有obj我就不知道了。
I don't understand. You seem to have generated the result. Did you generate the obj file? Its obj file requires a special web page to look at, and without obj I wouldn't know.