sxyu / plenoctree

PlenOctrees: NeRF-SH Training & Conversion
https://alexyu.net/plenoctrees
BSD 2-Clause "Simplified" License
425 stars 78 forks source link

issue of loading pretrained chair model #19

Open Derry-Xing opened 2 years ago

Derry-Xing commented 2 years ago

RuntimeError: Error(s) in loading state_dict for NerfModel: size mismatch for MLP_0.rgb_layer.weight: copying a param with shape torch.Size([256, 256]) from checkpoint, the shape in current model is torch.Size([48, 256]). size mismatch for MLP_0.rgb_layer.bias: copying a param with shape torch.Size([256]) from checkpoint, the shape in current model is torch.Size([48]). size mismatch for MLP_1.rgb_layer.weight: copying a param with shape torch.Size([256, 256]) from checkpoint, the shape in current model is torch.Size([48, 256]). size mismatch for MLP_1.rgb_layer.bias: copying a param with shape torch.Size([256]) from checkpoint, the shape in current model is torch.Size([48]).