Caoang327 / HexPlane

Official code for CVPR 2023 Paper, HexPlane: A Fast Representation for Dynamic Scenes
MIT License
242 stars 24 forks source link

MultiGPU setup #15

Closed akumar005 closed 4 months ago

akumar005 commented 7 months ago

Hi,

Thank you for the awesome work. I have a rather a general problem. Can you help me in setting up this code on multigpu? Though I am able to train the model by replacing .model to .model.module at most places, while I reload the checkpoint, I get the error in "get_optparam_groups" indicating it does not have support for nn.DataParallel (while training i used model.module.get_optparam_group and it worked). Can you please help in this?

Thanks in advance.

Caoang327 commented 6 months ago

Hi. Sorry for the late reply. Do you solve it or shall I investigate this problem now?

akumar005 commented 6 months ago

Hi,

Thank you for the reply. I have solved this issue.

akumar005 commented 6 months ago

But I have run into another issue. I am getting this white circular region in my rendering images. This is also happening for some of issuehexplane the case of training pose too.

Caoang327 commented 5 months ago

It looks like a sphere. Which coordinates are you using?

akumar005 commented 5 months ago

I am using HexPlane model, which I believe to be in Cartesian coordinate systems.

Caoang327 commented 5 months ago

Hi. This is quite strange and I suspect it is from the coordinate and sampling range. It may not sample anything inside this sphere