Skip to content

problem when preparing cambridge data  #17

@roseupram

Description

@roseupram

thank you for your releasing, I have a problem
when using

python3 nerf_loc/datasets/video/preprocess_cambridge.py data/Cambridge

there's a error

/home/glj/miniconda3/envs/nerfloc/lib/python3.8/site-packages/numpy/core/_methods.py:189: RuntimeWarning: invalid value encountered in double_scalars
  ret = ret.dtype.type(ret / rcount)
Traceback (most recent call last):
  File "nerf_loc/datasets/video/preprocess_cambridge.py", line 342, in <module>
    offset = np.linalg.norm(xyz - avg_pose.reshape(1,3), axis=1)
ValueError: cannot reshape array of size 1 into shape (1,3)

could you please give some advics?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions