Open NagabhushanSN24 opened 2 months ago
I was able to copy the files from windows server machine to my local macbook and the blender command to generate the video.
/Applications/Blender.app/Contents/MacOS/Blender -b -P ./nn/blender/texture_multi.py -- .../240812-06-21-23/000/pred_0/render_info.json
This generates the render.mp4
file. So, I guess it is some issue with my windows server machine.
However, I still don't know how to get pred_0_camera1.png
.
Also, how do I animate the human? Do I have to do it manually by importing the human model into Clo3D
, or is there an example script to do that via terminal/API?
Hi!
pred_0_camera1.png
is the output of Maya, which is an image of a simulated garment. Thank you for the clarification. Any idea why pred_0_camera1.png
is not getting rendered correctly? Any pointers that I can check? I am very new to these 3D softwares (Maya, Qualoth).
Can you try python nn/evaluation_scripts/predict_class.py -c ./models/infer.yaml -s
? It only generates sewing patterns and -s
enables simulation. Check your output and the raised errors.
Thanks, I'm getting the following error now:
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\nagabhushan\workspace\clothing_humans\literature\006_DressCode\DressCode\nn\simulation\sim.py", line 90, in <module>
Sim.simulation_single(command_args.data)
File "C:\Users\Administrator\Desktop\nagabhushan\workspace\clothing_humans\literature\006_DressCode\DressCode\nn\simulation\sim.py", line 60, in simulation_single
mymaya.simulation.single_file_sim(self.system_config, self.props, no_stitch=False)
File "C:\Users\Administrator\Desktop\nagabhushan\workspace\clothing_humans\literature\006_DressCode\DressCode\packages\mayaqltools\simulation.py", line 33, in single_file_sim
template_simulation(pattern_spec_norm,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\Desktop\nagabhushan\workspace\clothing_humans\literature\006_DressCode\DressCode\packages\mayaqltools\simulation.py", line 210, in template_simulation
garment.load(
File "C:\Users\Administrator\Desktop\nagabhushan\workspace\clothing_humans\literature\006_DressCode\DressCode\packages\mayaqltools\mayascene.py", line 81, in load
self.stitch_panels()
File "C:\Users\Administrator\Desktop\nagabhushan\workspace\clothing_humans\literature\006_DressCode\DressCode\packages\mayaqltools\mayascene.py", line 124, in stitch_panels
self._maya_curve_name(stitch[1]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\Desktop\nagabhushan\workspace\clothing_humans\literature\006_DressCode\DressCode\packages\mayaqltools\mayascene.py", line 719, in _maya_curve_name
return self.MayaObjects['panels'][panel_name]['edges'][edge_id]
Attaching the complete logs for reference. DressCodeLogs.txt
From your logs, I see that Maya successfully saved images in the folder.
Rendering saved to
C:\Users\Administrator\Desktop\nagabhushan\workspace\clothing_humans\literature\006_DressCode\runs\testing\test0005\240812-11-10-22\000\pred_0\pred_0_camera1
...
Rendering saved to
C:\Users\Administrator\Desktop\nagabhushan\workspace\clothing_humans\literature\006_DressCode\runs\testing\test0005\240812-11-10-22\001\pred_0\pred_0_camera1
...
Rendering saved to
C:\Users\Administrator\Desktop\nagabhushan\workspace\clothing_humans\literature\006_DressCode\runs\testing\test0005\240812-11-10-22\002\pred_0\pred_0_camera1
Can you check whether your outputs pred_0_camera1.png
are still 0KB?
The error you mentioned is sometimes our SewingGPT will generate wrong patterns like the wrong number of edge id, then our script will automatically re-generate it.
Ah okay. Gotcha. But the pred_0_camera1.png
image is still 0KB for all the three samples.
Normally it will output Finished experiment
after the simulation (see code). I tried to compare my logs and found I had no FXLicense : connecting to the license server failed.
But since you've gotten the simulated mesh pred_0_sim.obj
, I guess it may not be the core issue. I didn't meet that issue before, maybe you can debug here (render code).
Cool, thanks for the pointer! I'll try to debug that.
Hi,
I am able to setup Maya, Qualoth and Blender. I am able to run
python nn/UI_chat.py --sim
and if I give some text description, the pipeline works fine and outputs something. I'm getting the garment mesh inpred_0_sim.obj
, garment + T-pose human mesh inpred_0_sim_raw.obj
, texture files intexture_combined.png
, etc. However,pred_0_camera1.png
is a 0KB file andrender.mp4
is a 1KB file.How do I get the final images you have shown in the paper?
Some logs if they help: