Conversation
…emove duplicate implementation from source file.
…package structure with pip installability - Created pybind11 C++ bindings for PLY to SPZ conversion - Implemented ply_to_spz() function with coordinate system support - Enhanced C++ PLY loader to handle comment lines properly - Added comprehensive test suite (7 tests) - Added example usage script and documentation - Supports all coordinate systems: RDF, RUB, LUF, RUF, UNSPECIFIED - Achieves 12.43x compression ratio on sample data (25MB -> 2MB) - Compatible with standard PLY files including comment lines
Add Python bindings with ply_to_spz function - Added complete Python …
Python spz
|
I've tried what you did with python and now I'm wondering if it's possible to compress it even smaller, so far I've been looking at 10x, I don't know if you know SOGS, it can compress ply 15-20x. So I wondered if I could change what part of it, keeping the ply file format the same, but with better compression |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes the repo pip-installable and adds some (mostly Claude generated) Python bindings for
ply_to_spzandspz_to_plyto start so I could use this in my existing python code that writes out plys. A test PLY file is also added.Tested in my personal repo with a
pip installfrom git and used it after some gsplat training to convert the ply to spz in the end.Can directly support writing from the gaussian buffers directly to SPZ without the PLY in the middle as a follow-up PR
Notes
#30 was required for my
uv syncthat included this new pythonspzpackage for it to be installed correctly. There was an error with theconst exprnot beingconstthat #30 fixes.