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

点的顺序乱了? #12

Open
1019397206 opened this issue May 25, 2021 · 4 comments
Open

点的顺序乱了? #12

1019397206 opened this issue May 25, 2021 · 4 comments

Comments

@1019397206
Copy link

1019397206 commented May 25, 2021

大神您好,我试着加上了面的信息,发现点的顺序和面的信息对不上,形成的obj文件形状错误。
这是我代码写错了吗,有什么办法得到正确的点顺序。
image
image

@layumi
Copy link
Owner

layumi commented May 26, 2021

你好。你是改这里么?
https://github.com/layumi/hmr/blob/master/generate_3DMarket_bg.py#L254-L257 加上应该就行了。
我暂时没跑,但应该就是把我注视的加回来就行。

@1019397206
Copy link
Author

谢谢大神的回复,我原本就是把注释加回来,但是面的顺序和点的顺序还是对不上。
直到我把这一行删掉以后,跑出来的面的结果才是对的https://github.com/layumi/hmr/blob/master/generate_3DMarket_bg.py#L226
虽然不是很清楚原理,但是也算解决了这个问题。

@layumi
Copy link
Owner

layumi commented May 26, 2021

哦哦 是的。。这一行是为了不输出后面。节约再读取的时间

@ww5171351
Copy link

谢谢大神的回复,我原本就是把注释加回来,但是面的顺序和点的顺序还是对不上。 直到我把这一行删掉以后,跑出来的面的结果才是对的HTTPS:// github上.com/layumi/hmr/blob/master/generate_3DMarket_bg.py#L226 虽然不是很清楚原理,但也算解决了这个问题。

朋友你好,你运行https://github.com/layumi/hmr这个代码了么
出现tensorflow.python.framework.errors_impl.InternalError: <exception str() failed>这个问题过么

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

3 participants