(strands_data, mean, std)
| 55 | return strands_data |
| 56 | |
| 57 | def un_normalize_data_2D(strands_data, mean, std): |
| 58 | orig_shape = strands_data.shape |
| 59 | nr_strands = strands_data.shape[0] |
| 60 | strands_data=strands_data.view(nr_strands, -1) |
| 61 | strands_data=strands_data*std.view(1,-1) |
| 62 | strands_data=strands_data+mean.view(1,-1) |
| 63 | strands_data=strands_data.view(orig_shape) |
| 64 | return strands_data |
| 65 | |
| 66 | def normalize_gt_data(gt_dict, normalization_dict): |
| 67 | # mean=normalization_dict["xyz_mean"] |
nothing calls this directly
no outgoing calls
no test coverage detected