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

ImportError: cannot import name 'get_default_testdata' from 'common' (/home/user/source_builds/Open3D/examples/python/t_reconstruction_system/common.py) #5321

Closed
3 tasks done
sandyflute opened this issue Jul 16, 2022 · 1 comment
Labels
bug Not a build issue, this is likely a bug.

Comments

@sandyflute
Copy link

Checklist

Describe the issue

While running integrate.py(dense_slam.py as well) examples from t_reconstruction_system, a function, get_default_testdata, needs to be imported from common.py located in the same folder. Looks like this function is missing from the file.

Steps to reproduce the bug

Enter the python examples from open3d root dir:

`cd examples/python/t_reconstruction_system/`

run integrate.py

`python integrate.py`

Error message

Traceback (most recent call last):
  File "integrate.py", line 40, in <module>
    from common import load_rgbd_file_names, load_depth_file_names, save_poses, load_intrinsic, load_extrinsics, get_default_testdata
ImportError: cannot import name 'get_default_testdata' from 'common' (/home/username/source_builds/Open3D/examples/python/t_reconstruction_system/common.py)

Expected behavior

No response

Open3D, Python and System information

- Operating system: Ubuntu 18.04 64-bit
- Python version: Python 3.8.13 
- Open3D version: output from python: 0.15.2+393bbce6 `print(open3d.__version__)`
- System architecture: x86
- Is this a remote workstation?: no
- How did you install Open3D?: build from source
- Compiler version (if built from source): gcc 7.5.0

Additional information

No response

@sandyflute sandyflute added the bug Not a build issue, this is likely a bug. label Jul 16, 2022
@yuecideng
Copy link
Collaborator

Hi, this error can be fixed by PR #5326. You can try to use integrate_custom.py currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not a build issue, this is likely a bug.
Projects
None yet
Development

No branches or pull requests

2 participants