yzslab / gaussian-splatting-lightning

A 3D Gaussian Splatting framework with various derived algorithms and an interactive web viewer
Other
457 stars 38 forks source link

Unexpected key(s) in state_dict #16

Closed LDYang694 closed 5 months ago

LDYang694 commented 9 months ago

when i run python viewer.py ./4DGaussians/output/dnerf/bouncingballs/ --vanilla_gs4d it raise error RuntimeError: Error(s) in loading state_dict for deform_network: Unexpected key(s) in state_dict: "deformation_net.shs_deform.1.weight", "deformation_net.shs_deform.1.bias", "deformation_net.shs_deform.3.weight", "deformation_net.shs_deform.3.bias". I don't change any code in gs4d or this repo, how can I fix this error?

rongakushin commented 9 months ago

Hi, I'm encountering the same problem. Could you share how you resolved it? Thanks!

muximuxi commented 8 months ago

Have you solved the problem ?and when python viewer.py ./4DGaussians/output/dnerf/bouncingballs/point_cloud --vanilla_gs4d , error: AssertionError: not a checkpoint or point cloud can be found.

Coscatter commented 5 months ago

when i run python viewer.py ./4DGaussians/output/dnerf/bouncingballs/ --vanilla_gs4d it raise error RuntimeError: Error(s) in loading state_dict for deform_network: Unexpected key(s) in state_dict: "deformation_net.shs_deform.1.weight", "deformation_net.shs_deform.1.bias", "deformation_net.shs_deform.3.weight", "deformation_net.shs_deform.3.bias". I don't change any code in gs4d or this repo, how can I fix this error?

@LDYang694 Sadly, I encountered the same error, so have you solved the problem? I hope to get a response on how you solved it. Thank you very much.

yzslab commented 5 months ago

when i run python viewer.py ./4DGaussians/output/dnerf/bouncingballs/ --vanilla_gs4d it raise error RuntimeError: Error(s) in loading state_dict for deform_network: Unexpected key(s) in state_dict: "deformation_net.shs_deform.1.weight", "deformation_net.shs_deform.1.bias", "deformation_net.shs_deform.3.weight", "deformation_net.shs_deform.3.bias". I don't change any code in gs4d or this repo, how can I fix this error?

@LDYang694 Sadly, I encountered the same error, so have you solved the problem? I hope to get a response on how you solved it. Thank you very much.

They have made a lot of modifications (Dec.) after this web viewer being implemented (Nov.): https://github.com/hustvl/4DGaussians/commit/9bde22336eda38c129275bc9c24d4e5e4c44f1aa#diff-b6109d1080d3b53ebf968ac7da54748536efdda0696338fea4bdf8c7ba9b530fR61-R65. I will fix it later.

yzslab commented 5 months ago

when i run python viewer.py ./4DGaussians/output/dnerf/bouncingballs/ --vanilla_gs4d it raise error RuntimeError: Error(s) in loading state_dict for deform_network: Unexpected key(s) in state_dict: "deformation_net.shs_deform.1.weight", "deformation_net.shs_deform.1.bias", "deformation_net.shs_deform.3.weight", "deformation_net.shs_deform.3.bias". I don't change any code in gs4d or this repo, how can I fix this error?

@LDYang694 Sadly, I encountered the same error, so have you solved the problem? I hope to get a response on how you solved it. Thank you very much.

Pull the latest version, it should work now.