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

Handle header has not newline or space after OFF. #665

Closed
wants to merge 1 commit into from
Closed

Handle header has not newline or space after OFF. #665

wants to merge 1 commit into from

Conversation

yadiszzz
Copy link
Contributor

@yadiszzz yadiszzz commented May 3, 2021

It resolves #663.

@facebook-github-bot
Copy link
Contributor

Hi @yadiszzz!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

Lots of off files from ModelNet40 dataset don't have the newline or
space after 'OFF' at the beginning of the file.
@yadiszzz yadiszzz marked this pull request as ready for review May 3, 2021 12:36
@yadiszzz
Copy link
Contributor Author

yadiszzz commented May 3, 2021

CLA signed.

waiting for bot to update.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 3, 2021
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@bottler bottler self-assigned this May 3, 2021
@facebook-github-bot
Copy link
Contributor

@bottler has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@bottler
Copy link
Contributor

bottler commented May 4, 2021

Thanks for this! Although you created a new test, it doesn't pass, and the existing tests don't either. I'll sort this out.

facebook-github-bot pushed a commit that referenced this pull request May 7, 2021
Summary:
Allow a line like `OFF10 10 10` as the start of an OFF file. Such things apparently occur in ModelNet40.

This resolves #663.

Pull Request resolved: #665

Test Plan: New test

Reviewed By: nikhilaravi

Differential Revision: D28180006

Pulled By: bottler

fbshipit-source-id: 7f474c6a262e32da012217e09f76e8672a7f0278
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pytorch3d.io().load_mesh() can not handle .off file without newline or space after 'OFF'
3 participants