NeRF-Editing
NeRF-Editing copied to clipboard
error when --mode circle render
hi, when i try to render images by
python exp_runner.py --mode circle
the error below comes out. how can i fix this?
Hello Wooden
use test render NeuS Renderer: sparse sampling ...
Load data: Begin
Use the nerf synthetic dataset
Load data: End
[exp_runner.py:90 - __init__() ] Find checkpoint: ckpt_240000.pkl
[exp_runner.py:229 - load_checkpoint() ] End
set render raids to 3.5 !
the max degree of vertices in tets is 56
finish constructing Cage hulls !
[load.py:222 - load_mesh() ] loaded <trimesh.Trimesh(vertices.shape=(216282, 3), faces.shape=(432824, 3))> using load_obj
[constants.py:135 - timed() ] load_mesh executed in 0.6642 seconds.
render the 0 / 40 image
Traceback (most recent call last):
File "exp_runner.py", line 658, in <module>
runner.render_circle_image(args.reconstructed_mesh_file, args.deformed_mesh_file,\
File "exp_runner.py", line 555, in render_circle_image
images.append(self.render_image(render_pose, use_deform, queryDelta, hull, deltas, mesh, c2w_staticcam))
File "exp_runner.py", line 386, in render_image
render_out = self.renderer.render(rays_o_batch,
File "/data/jiyoonshin/NeRF-Editing/src/models/renderer.py", line 289, in render
z_vals_feed = jt.concat([z_vals, z_vals_outside], dim=-1)
File "/home/jiyoonshincml/anaconda3/envs/nerf_editing/lib/python3.8/site-packages/jittor/__init__.py", line 112, in inner
ret = func(*args, **kw)
File "/home/jiyoonshincml/anaconda3/envs/nerf_editing/lib/python3.8/site-packages/jittor/contrib.py", line 257, in concat
total_dim += a.shape[dim]
RuntimeError: Wrong inputs arguments, Please refer to examples(help(jt.NanoVector.__map_getitem__)).
Types of your inputs are:
self = NanoVector,
arg0 = int,
The function declarations are:
inline int64 at(int i)
inline NanoVector slice(Slice slice)
Failed reason:[f 0503 19:37:38.157693 76 nano_vector.h:116] Check failed: i>=0 && i<size() Something wrong... Could you please report this issue?
thanks.