3DTopia / OpenLRM

An open-source impl. of Large Reconstruction Models
Apache License 2.0
972 stars 56 forks source link

How to evaluate metrics #38

Open kunalkathare opened 7 months ago

kunalkathare commented 7 months ago

Hi @ZexinHe , I wanted to run some metrics on a custom trained model, how do I do that, I tried using FID, but during inference I'm getting ply file for which I rendered images using blender, but the images don't have colour, so the FID value is very high, can you suggest any way to save the object as a glb file.

ZexinHe commented 6 months ago

Hi,

Currently, the mesh exportation is using trimesh package, which automatically detects the type of file to export based on the extension. Have you tried changing ply to glb or other formats here? https://github.com/3DTopia/OpenLRM/blob/3108b6902d27912e1dcdce76970eab51436f5b21/openlrm/runners/infer/lrm.py#L281