(adaptive=True)
| 174 | |
| 175 | |
| 176 | def 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 | |
| 192 | def init_multiscale_mc(): |
no test coverage detected