Skip to content

[Bug] Incompatible pointops version – furthestsampling() missing 'new_offset'Β #339

@DoctorHaibara

Description

@DoctorHaibara

Describe the Bug

I'm trying to run the point cloud training script from compressai based on examples/train_pointcloud.py. Specifically, I adapted it for the KITTI dataset (my script: train_pointcloud_kitti.py). When running the script, I encountered multiple issues related to the missing or incompatible pointops dependency.


❗ Key Errors

1. furthestsampling signature mismatch

TypeError: forward() missing 1 required positional argument: 'new_offset'

This error originates from:

indices = pointops.furthestsampling(xyz_tr, npoint).long()

Apparently, the pointops library currently available at repos like [Silverster98/pointops] expects an extra argument (new_offset). But the version used in this repo does not.


2. No version or repo for pointops is specified

There is no documentation, requirements.txt, or submodule pointing to the expected pointops version. This makes it impossible to guarantee reproducibility or compatibility.

πŸ” Context

πŸ“Œ Request

Please consider:

  • Indicating the specific GitHub repository and commit hash for the pointops version used.
  • Packaging the correct version of pointops as a submodule or providing installation instructions.
  • Adding minimal documentation for running point cloud models under compressai.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions