__init__.py 1.7 KB

123456789101112131415161718192021222324252627282930
  1. # Copyright (c) OpenMMLab. All rights reserved.
  2. from .gaussian_target import (gather_feat, gaussian_radius,
  3. gen_gaussian_target, get_local_maximum,
  4. get_topk_from_heatmap, transpose_and_gather_feat)
  5. from .make_divisible import make_divisible
  6. from .misc import (aligned_bilinear, center_of_mass, empty_instances,
  7. filter_gt_instances, filter_scores_and_topk, flip_tensor,
  8. generate_coordinate, images_to_levels, interpolate_as,
  9. levels_to_images, mask2ndarray, multi_apply,
  10. relative_coordinate_maps, rename_loss_dict,
  11. reweight_loss_dict, samplelist_boxtype2tensor,
  12. select_single_mlvl, sigmoid_geometric_mean,
  13. unfold_wo_center, unmap, unpack_gt_instances)
  14. from .panoptic_gt_processing import preprocess_panoptic_gt
  15. from .point_sample import (get_uncertain_point_coords_with_randomness,
  16. get_uncertainty)
  17. __all__ = [
  18. 'gaussian_radius', 'gen_gaussian_target', 'make_divisible',
  19. 'get_local_maximum', 'get_topk_from_heatmap', 'transpose_and_gather_feat',
  20. 'interpolate_as', 'sigmoid_geometric_mean', 'gather_feat',
  21. 'preprocess_panoptic_gt', 'get_uncertain_point_coords_with_randomness',
  22. 'get_uncertainty', 'unpack_gt_instances', 'empty_instances',
  23. 'center_of_mass', 'filter_scores_and_topk', 'flip_tensor',
  24. 'generate_coordinate', 'levels_to_images', 'mask2ndarray', 'multi_apply',
  25. 'select_single_mlvl', 'unmap', 'images_to_levels',
  26. 'samplelist_boxtype2tensor', 'filter_gt_instances', 'rename_loss_dict',
  27. 'reweight_loss_dict', 'relative_coordinate_maps', 'aligned_bilinear',
  28. 'unfold_wo_center'
  29. ]