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

Lazy import for open3d in Blender DataParser #3347

Merged
merged 3 commits into from
Aug 5, 2024
Merged

Conversation

ethanweber
Copy link
Collaborator

I'm following this reference code to improve the speed of importing the Blender DataParser. We should only import Open3D when we need it.

import open3d as o3d # Importing open3d is slow, so we only do it if we need it.

Copy link
Collaborator

@jb-ye jb-ye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@kerrj kerrj enabled auto-merge (squash) August 5, 2024 17:41
@kerrj kerrj merged commit ec10c49 into main Aug 5, 2024
2 checks passed
@kerrj kerrj deleted the ethan/blender-o3d-import branch August 5, 2024 18:56
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

Successfully merging this pull request may close these issues.

3 participants