Code Monkey home page Code Monkey logo

Comments (4)

erikwijmans avatar erikwijmans commented on May 18, 2024

I am not sure what the "raw response of a submap" is.

from pointnet2_pytorch.

cisprague avatar cisprague commented on May 18, 2024

I have batches of pointclouds.
Each batch is labelled with a 2x2 matrix of continuous real-numbers.
I want to learn the mapping from a batch to its 2x2 matrix label of continuous real-numbers.

Input:

# 3 batches of pointclouds, each having 4153 points of 3 dimensions
# a.shape = torch.Size([3, 4153, 3])
x = tensor([[[ -4.4242, 179.5540,  -3.9953],
         [ -4.5037, 180.5730,  -3.9987],
         [ -4.5773, 181.5160,  -4.0026],
         ...,
         [  8.7374, 223.7580,  -4.0162],
         [  8.6664, 224.6600,  -3.9838],
         [  8.5804, 225.7520,  -4.0038]],

        [[ 12.6884, 180.4480,  -3.9466],
         [ 12.6097, 181.4470,  -3.9688],
         [ 12.5336, 182.4120,  -3.9716],
         ...,
         [ 26.1111, 225.3330,  -3.9838],
         [ 26.0312, 226.3350,  -3.9934],
         [ 25.9488, 227.3720,  -3.9833]],

        [[ 30.1386, 181.5060,  -3.9637],
         [ 30.0578, 182.5190,  -3.9860],
         [ 29.9806, 183.4880,  -3.9937],
         ...,
         [ 43.5112, 226.8030,  -4.0133],
         [ 43.4386, 227.7140,  -3.9794],
         [ 43.3492, 228.8230,  -4.0008]]], device='cuda:0')

Labels:

# 3 labels
# y.shape =torch.Size([3, 2, 2])
y = tensor([[[ 3.5590,  0.0000],
         [ 0.0000, 57.0456]],

        [[ 3.4989,  0.0000],
         [ 0.0000, 59.3808]],

        [[ 1.4000,  0.0000],
         [ 0.0000, 49.8878]]], device='cuda:0')

from pointnet2_pytorch.

erikwijmans avatar erikwijmans commented on May 18, 2024

You can remove the FC layer: https://github.com/erikwijmans/Pointnet2_PyTorch/blob/master/pointnet2/models/pointnet2_ssg_cls.py#L79 and then just output the features https://github.com/erikwijmans/Pointnet2_PyTorch/blob/master/pointnet2/models/pointnet2_ssg_cls.py#L112

from pointnet2_pytorch.

cisprague avatar cisprague commented on May 18, 2024

Ahh, I see, thank you!

from pointnet2_pytorch.

Related Issues (20)

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.