Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I suggest the author add “ if __ name __=="__main__" to the code “ #103

Open
mshmoon opened this issue Oct 23, 2024 · 3 comments
Open

Comments

@mshmoon
Copy link

mshmoon commented Oct 23, 2024

Firstly, I am very impressed by the outstanding work you have done.

But I found an issue while using your open source code.

For example, I want to quickly integrate model.py and serialization into my code, but I don't know what the data format input into serialization looks like.

If I were to start processing data from scratch and then run your scripts, it would take a long time.

So I suggest the author write a code under if name=="main" on how to input data

@Gofinge
Copy link
Member

Gofinge commented Oct 23, 2024

Thanks for this great suggestion. I will try to add more examples of code after this CVPR.

@mshmoon
Copy link
Author

mshmoon commented Oct 23, 2024

Thanks for this great suggestion. I will try to add more examples of code after this CVPR.

Oh,Thank you.
But,PTv3 consumes too much memory. I only use the PTV3 decoder and input tens of thousands of points, but the 24GB graphics card also memory overflow.

@Gofinge
Copy link
Member

Gofinge commented Oct 23, 2024

Thanks for this great suggestion. I will try to add more examples of code after this CVPR.

Oh,Thank you. But,PTv3 consumes too much memory. I only use the PTV3 decoder and input tens of thousands of points, but the 24GB graphics card also memory overflow.

Have you enabled FlashAttention? The default setting with a large patch size definitely needs flash attention. But if your local machine cannot install FlashAttention, a smaller patch size like 128 can also work very well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants