UM2N.helper package

Submodules

UM2N.helper.config module

load_yaml_to_namespace(yaml_file_path)[source]
save_namespace_to_yaml(namespace, yaml_file_path)[source]

UM2N.helper.helper module

mkdir_if_not_exist(dir)[source]

UM2N.helper.plot_util module

plot_compare(mesh_fine, mesh, mesh_MA, mesh_model, u_exact, uh_og, uh_ma, uh_model, hessian_norm, monitor_val, num_tangle, model_name)[source]

UM2N.helper.plotting module

plot_attentions_map(out_atten_collections, out_loss_collections)[source]
plot_attentions_map_compare(out_mesh_collections, out_loss_collections, out_atten_collections, target_hessian, target_mesh, target_face, selected_node=200)[source]
plot_loss(train_loss_arr, test_loss_arr, epoch_arr)[source]
plot_mesh(coord, face, ax=None)[source]
plot_mesh_compare(coord_out, coord_target, face)[source]
plot_mesh_compare_benchmark(coord_out, coord_target, face, deform_loss, pde_loss_model, pde_loss_reduction_model, pde_loss_MA, pde_loss_reduction_MA, tangle)[source]
plot_multiple_mesh_compare(out_mesh_collections, out_loss_collections, target_mesh, target_face)[source]
plot_tangle(train_tangle_arr, test_tangle_arr, epoch_arr)[source]

Module contents