Giter Club home page Giter Club logo

easy-kpconv's People

Contributors

qinzheng93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

easy-kpconv's Issues

the input of model

Hi, I would like to ask about the input of the following method, is the shape of the input points (N,3) instead of (B,N,3)?
def grid_subsample_pack_mode(points, lengths, voxel_size):
"""Grid subsample in pack mode (fast version).
Args:
points (Tensor): the original points (N, 3).
lengths (LongTensor): the numbers of points in the batch (B,).
voxel_size (float): the voxel size.
Returns:
sampled_points (Tensor): the subsampled points (M, 3).
sampled_lengths (Tensor): the numbers of subsampled points in the batch (B,).
"""
batch_size = lengths.shape[0]

TypeError on Python type hint in S3DIS collate function during calibrate_neighbors?

I've download, installed, and got the S3DIS example running. After confirming I can train the network I wanted to calibrate neighbors for my hardware (actually doing it to understand how it works, from what I can tell its hardware specific).

I've run into a type error originating on line 40 of examples/scene_segmentation/calibrate_neighbors.py where easy_kpconv.ops.calibrate_neighbors.calibrate_neighbors_pack_mode is called:

File "examples/scene_segmentation/calibrate_neighbors.py", line 40, in main
neighbor_limits = calibrate_neighbors_pack_mode(
File "/usr/local/lib/python3.8/dist-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/workspace/projects/Easy-KPConv/easy_kpconv/ops/calibrate_neighbors.py", line 49, in calibrate_neighbors_pack_mode
data_dict = collate_fn([dataset[i]])
File "/usr/lib/python3.8/typing.py", line 875, in new
obj = super().new(cls, *args, **kwds)
TypeError: object.new() takes exactly one argument (the type to instantiate)

Specifically, from what I can tell after investigating for a bit, is this is an issue with the Python type hinting provided in the definition of calibrate_neighbors_pack_mode.

Any suggestions or ideas as to the issue?

Nice work!

Will it be expanded to the SemanticKITTI dataset?

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.