gsplat icon indicating copy to clipboard operation
gsplat copied to clipboard

AssertionError: block_width must be between 2 and 16

Open ZhenWusi opened this issue 10 months ago • 3 comments

when I run ns-train splatfacto --data data/nerfstudio/poster happen that File "/root/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/gsplat/project_gaussians.py", line 59, in project_gaussians assert block_width > 1 and block_width <= 16, "block_width must be between 2 and 16" AssertionError: block_width must be between 2 and 16?

ZhenWusi avatar Apr 02 '24 11:04 ZhenWusi

Make sure gsplat is updated to the latest version and this should go away

kerrj avatar Apr 04 '24 17:04 kerrj

I also had this issue with the latest version (0.1.10), and downgrading to 0.1.6 fixed it, actually.

CorentinDumery avatar Apr 12 '24 13:04 CorentinDumery

check the params that are passed with project_gaussians. In recent versions redundant projection matrix was dropped (see #97). Just removing this line should work

ivanpuhachov avatar Apr 15 '24 03:04 ivanpuhachov