shap-e icon indicating copy to clipboard operation
shap-e copied to clipboard

Bin size was too small in the coarse rasterization phase. This caused an overflow, meaning output may be incomplete. To solve, try increasing max_faces_per_bin / max_points_per_bin, decreasing bin_size, or setting bin_size to 0 to use the naive rasterization

Open EthanZhangCN opened this issue 1 year ago • 3 comments

I met this warning ,how to solve it? Bin size was too small in the coarse rasterization phase. This caused an overflow, meaning output may be incomplete. To solve, try increasing max_faces_per_bin / max_points_per_bin, decreasing bin_size, or setting bin_size to 0 to use the naive rasterization.

EthanZhangCN avatar May 11 '23 06:05 EthanZhangCN

I met the same issue, and the results are kind of weird.

Caoang327 avatar May 11 '23 23:05 Caoang327

Same. I am trying to run text_to_3d sample locally.

.obj file is generated but not with textures.

kedzkiest avatar May 31 '23 06:05 kedzkiest

I was able to fix this by setting bin_size to 0 here:

https://github.com/openai/shap-e/blob/db3f3b4c2f572b53fbe408d202e2445a1f656353/shap_e/rendering/pytorch3d_util.py#L42

Probably this is not the best way to fix this.

mhjort avatar Jun 20 '23 06:06 mhjort