Giter VIP home page Giter VIP logo

Comments (9)

tatarchm avatar tatarchm commented on September 10, 2024

I cannot reproduce the issue. This function is provided through the python binding of Open3D.

Could you please provide more details? Did you build Open3D and update the path values in 'path_config.py'? What command do you execute when the error pops up?

from tangent_conv.

tejaskhot avatar tejaskhot commented on September 10, 2024

Yes, I built Open3D from the repo as suggested and modified the paths in path_config.py. I get the following error when running the precompute script:

git_repos/tangent_conv$ python tc.py experiments/stanford/dhnrgb/config.json --precompute
:: precompute
processing scan: Area_1_conferenceRoom_1, rot: 0
Traceback (most recent call last):
  File "tc.py", line 21, in <module>
    run_precompute(config)
  File "util/precompute.py", line 73, in run_precompute
    pcd_colors_down = voxel_down_sample_for_surface_conv(pcd_colors, multiplier*p.min_cube_size,
NameError: name 'voxel_down_sample_for_surface_conv' is not defined

Also, when I did a code search in the Open3D repo, I could find no results for this function name.

from tangent_conv.

tatarchm avatar tatarchm commented on September 10, 2024

Do you execute the script with the same python version as the one used while compiling Open3D?

from tangent_conv.

tejaskhot avatar tejaskhot commented on September 10, 2024

from tangent_conv.

tatarchm avatar tatarchm commented on September 10, 2024

Could you please provide the contents of your 'path_config.py'?

from tangent_conv.

tejaskhot avatar tejaskhot commented on September 10, 2024

The contents for /usr1/home/tkhot/git_repos/tangent_conv/util/path_config.py

import sys

open3d_path = '/usr1/home/tkhot/git_repos/Open3D/build/lib/'
tc_path = '/usr1/home/tkhot/git_repos/tangent_conv/'

sys.path.append(open3d_path)
from py3d import *

def get_tc_path():
	return tc_path

from tangent_conv.

tatarchm avatar tatarchm commented on September 10, 2024

Looks good to me. @syncle, do you have an idea what the problem may be?

from tangent_conv.

syncle avatar syncle commented on September 10, 2024

voxel_down_sample_for_surface_conv is defined here:
https://github.com/tatarchm/Open3D/src/Python/Core/py3d_pointcloud.cpp#L112
so it should run if you properly clone https://github.com/tatarchm/Open3D.

Also, when I did a code search in the Open3D repo, I could find no results for this function name.

The Open3D repo for tangent convolution is forked repo. Github does not provide code search for forked repo.

from tangent_conv.

tejaskhot avatar tejaskhot commented on September 10, 2024

A global installation of Open3D from the main repo was getting detected which was causing this issue. Thanks!

from tangent_conv.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.