hzhao1997 / HF-Avatar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

After model training where to get the final .obj/.mtl/.png files

neerajtiwari360 opened this issue · comments

I had tried to train the model on given dataset but i am not able to see the final 3D obj/mtl/png files, can you please tell me how to get that?

there will be a folder named "results" created automatically

Hi @overoverlord, thankyou for your reply. there are multiple onj and png files are there in result section, can you please tell me exact directory for getting all png/mtl/obj?

@neerajtiwari360
在这两个路径下:

HF-Avatar-main/results/dynamic_offsets/Body2D_2040_499_final_results/obj/

HF-Avatar-main/results/final_texture/Body2D_2040_499.png

@wusidong thankyou for your reply, there are obj/png files but mtl file is not generating in result? that why I had raised this query. Can you please let me know how to get/generate it.

You can take a look at #7, the author said how to modify the code to get the .mtl file

Change the code of 861 in HF-Avatar/geometry_model/network.py from

write_obj(vs=v, fs=self.fs[0], path=path) to

write_obj(vs=v, vt=self.vts[0], fs=self.fs[0], ft=self.fts[0], path=path, write_mtl=True)

Thank you @wusidong & @wusidong got the hint on how to get the MTL. I will try it and let you know.
meanwhile can see my other issue
#12,
to train this model fast I am setting it in 3090 with a windows 10 system.