You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when running the example command in the README for rendering, along with the --export flag (python app/sdf_renderer.py \ --net OctreeSDF \ --num-lods 5 \ --pretrained _results/models/armadillo.pth \ --render-res 1280 720 \ --shading-mode matcap \ --lod 4 --export file.npz
I get the following error message Total number of parameters: 10146213 Traceback (most recent call last): File "app/sdf_renderer.py", line 106, in <module> net = SOL_NGLOD(net) File "/home/luis/nglod/sdf-net/lib/models/SOL_NGLOD.py", line 50, in __init__ self.vs = voxel_sparsify(2000000, net, self.lod, sol=False) File "/home/luis/nglod/sdf-net/lib/renderutils.py", line 63, in voxel_sparsify surface = sample_surface(n, net, sol=sol, device=device)[:n] File "/home/luis/nglod/sdf-net/lib/renderutils.py", line 33, in sample_surface tracer = SphereTracer(device, sol=sol) TypeError: __init__() got an unexpected keyword argument 'sol'
I cannot figure out how to fix it.
Thank you in advance
The text was updated successfully, but these errors were encountered:
Hi, when running the example command in the README for rendering, along with the --export flag (
python app/sdf_renderer.py \ --net OctreeSDF \ --num-lods 5 \ --pretrained _results/models/armadillo.pth \ --render-res 1280 720 \ --shading-mode matcap \ --lod 4 --export file.npz
I get the following error message
Total number of parameters: 10146213 Traceback (most recent call last): File "app/sdf_renderer.py", line 106, in <module> net = SOL_NGLOD(net) File "/home/luis/nglod/sdf-net/lib/models/SOL_NGLOD.py", line 50, in __init__ self.vs = voxel_sparsify(2000000, net, self.lod, sol=False) File "/home/luis/nglod/sdf-net/lib/renderutils.py", line 63, in voxel_sparsify surface = sample_surface(n, net, sol=sol, device=device)[:n] File "/home/luis/nglod/sdf-net/lib/renderutils.py", line 33, in sample_surface tracer = SphereTracer(device, sol=sol) TypeError: __init__() got an unexpected keyword argument 'sol'
I cannot figure out how to fix it.
Thank you in advance
The text was updated successfully, but these errors were encountered: