FrozenBurning / Relighting4D

[ECCV 2022] Relighting4D: Neural Relightable Human from Videos
https://frozenburning.github.io/projects/relighting4d/
Other
268 stars 19 forks source link

Different light settings between people-snapshot and zju-mocap #8

Closed sillybirrrd closed 1 year ago

sillybirrrd commented 1 year ago

Hi Zhaoxi, Thanks for your great work! It seems like zju-mocap and people-snapshot use different light settings. I'm confused about that, could you please explain that?

if 'xyzc' in cfg.exp_name or 'zju' in cfg.exp_name:
            print("zju-mocap:{}, using different lighting......".format(cfg.exp_name))
            lxyz[...,1] = -lxyz[...,1]
            lxyz[...,0] = -lxyz[...,0]
        else:
            lxyz = lxyz[..., [0, 2, 1]]
            lxyz[...,1] = -lxyz[...,1]

If I wanna train the model on my own dataset, which one should I choose? Thanks in advance!

FrozenBurning commented 1 year ago

Thanks for your interest in our work! It's caused by different definitions of the world coordinate system in different datasets. If you wanna train on your own dataset, please align your coordinate system to either People-Snapshot or ZJU-Mocap, and choose the corresponding light setting.

sillybirrrd commented 1 year ago

Thanks for your reply, it helps me a lot!