MCPcopy Create free account
hub / github.com/computational-imaging/bacon / export_meshes

Function export_meshes

experiments/render_sdf.py:176–189  ·  view source on GitHub ↗
(adaptive=True)

Source from the content-addressed store, hash-verified

174
175
176def export_meshes(adaptive=True):
177 bacon_ckpts = ['../trained_models/dragon.pth',
178 '../trained_models/armadillo.pth',
179 '../trained_models/lucy.pth',
180 '../trained_models/thai.pth']
181
182 bacon_names = ['bacon_dragon',
183 'bacon_armadillo',
184 'bacon_lucy',
185 'bacon_thai']
186
187 print('Exporting BACON')
188 for ckpt, name in tqdm(zip(bacon_ckpts, bacon_names), total=len(bacon_ckpts)):
189 export_model(ckpt, name, model_type='bacon', output_layers=output_layers, adaptive=adaptive)
190
191
192def init_multiscale_mc():

Callers 1

render_sdf.pyFile · 0.85

Calls 1

export_modelFunction · 0.70

Tested by

no test coverage detected