SCFlow icon indicating copy to clipboard operation
SCFlow copied to clipboard

Where was the 'models_1024' folder organized from?

Open JuCiZu opened this issue 9 months ago • 6 comments

Thanks for your great work, May I ask where the 'models_1024' folder was organized from? I downloaded the Object models of the ycbv dataset from the BOP website, which contain "models", "models_eval", and "models_fine". Is it one of them? I hope to receive your response, thank you very much.

JuCiZu avatar Mar 06 '25 07:03 JuCiZu

Thank you very much. I have seen your response in another issue. I will first try to downsample the texture map in "models" as "models_1024". If my operation is incorrect, thank you for your criticism and correction

JuCiZu avatar Mar 06 '25 07:03 JuCiZu

非常感谢。我已经在另一个问题中看到了您的回复。我会先尝试将“models”中的纹理贴图降采样为“models_1024”。如果我的操作不正确,感谢您的批评和指正。

Hello, thank you for your answer about generating keypoints/box.json. I don't have the PCloud link now. In addition, I would like to ask you, in this question about models_1024, I downsampled the texture map under /models to 1024 and saved it under /models_1024 according to your answer, and also put the ply file under /models into /models_1024. I executed the following command: python test.py --config configs/refine_models/scflow.py --checkpoint checkpoints/ycbv_real.pth --eval 报错如下:

Image Error: Meshes does not have textures, but when I open the ply file, it has textures. I am a beginner and don't know much about this part. I hope to get your answer, thank you!

Wangzhongqiu410 avatar Apr 17 '25 09:04 Wangzhongqiu410

非常感谢。我已经在另一个问题中看到了您的回复。我会先尝试将“models”中的纹理贴图降采样为“models_1024”。如果我的操作不正确,感谢您的批评和指正。

Hello, thank you for your answer about generating keypoints/box.json. I don't have the PCloud link now. In addition, I would like to ask you, in this question about models_1024, I downsampled the texture map under /models to 1024 and saved it under /models_1024 according to your answer, and also put the ply file under /models into /models_1024. I executed the following command: python test.py --config configs/refine_models/scflow.py --checkpoint checkpoints/ycbv_real.pth --eval 报错如下:

Image Error: Meshes does not have textures, but when I open the ply file, it has textures. I am a beginner and don't know much about this part. I hope to get your answer, thank you!

I have encountered the same problem before. One possibility is that there is an issue with the pytorch3d package you installed. If your pytorch3d was installed using conda or pip, you can check if there is any code in pytorch3d/pytorch3d/io/ply_io.py/class MeshPlyFormat/def read() that uses "TextureFile" to read UV textures. Please refer to my answer in another issue for details this

JuCiZu avatar Apr 18 '25 02:04 JuCiZu

非常感谢。我已经在另一个问题中看到了您的回复。我会先尝试将“models”中的纹理贴图降采样为“models_1024”。如果我的操作不正确,感谢您的批评和指正。

您好,感谢您关于生成 keypoints/box.json 的解答。我现在没有 PCloud 的链接。另外,我想请教您,在关于 models_1024 的这个问题中,我按照您的回答将 /models 下的纹理贴图降采样到 1024 并保存在 /models_1024 下,同时将 /models 下的 ply 文件也放入了 /models_1024 下。我执行了以下命令:python test.py --config configs/refine_models/scflow.py --checkpoint checkpoints/ycbv_real.pth --eval报错如下: Image错误:网格没有纹理,但打开ply文件后,却显示有纹理。我是初学者,对这部分不太了解。希望得到您的解答,谢谢!

我以前也遇到过同样的问题。一种可能是你安装的pytorch3d包有问题。 如果你的pytorch3d是使用****condapip安装的,你可以检查一下其中是否有pytorch3d/pytorch3d/io/ply_io.py/class MeshPlyFormat/def read()使用“TextureFile”读取 UV 纹理的代码。 更多详情,请参阅我在另一个问题中的回答 感谢您的回复,我修改完pytorch3d/pytorch3d/io/ply_io.py/class MeshPlyFormat/def read(),问题解决了!

Wangzhongqiu410 avatar Apr 18 '25 08:04 Wangzhongqiu410

Anyone found how to fix this issue? I downloaded the YCB-V dataset from https://bop.felk.cvut.cz/datasets/ but there is not folder "models_1024" in it. Also, I used the following command to install pytorch3d:

conda install pytorch3d=="0.5.0" -c pytorch3d

quchanhub avatar May 05 '25 21:05 quchanhub

Anyone found how to fix this issue? I downloaded the YCB-V dataset from https://bop.felk.cvut.cz/datasets/ but there is not folder "models_1024" in it. Also, I used the following command to install pytorch3d:

conda install pytorch3d=="0.5.0" -c pytorch3d

You can try installing the modified pytorch3d provided by Yang Hai to enable rendering of 3D mesh in .ply format.

W-QY avatar May 07 '25 07:05 W-QY