Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when --mode circle render #7

Open
jiyoonshincml opened this issue May 4, 2023 · 0 comments
Open

error when --mode circle render #7

jiyoonshincml opened this issue May 4, 2023 · 0 comments

Comments

@jiyoonshincml
Copy link

jiyoonshincml commented May 4, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant