deepguard 0.3.0__tar.gz → 0.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. {deepguard-0.3.0 → deepguard-0.3.2}/LICENSE +21 -21
  2. {deepguard-0.3.0 → deepguard-0.3.2}/PKG-INFO +546 -534
  3. {deepguard-0.3.0 → deepguard-0.3.2}/README.md +508 -508
  4. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/__init__.py +27 -27
  5. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/data/__init__.py +10 -10
  6. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/data/dataset.py +61 -61
  7. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/data/dataset_cutmix.py +194 -194
  8. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/data/dataset_cutout.py +152 -152
  9. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/data/dataset_mixup.py +114 -114
  10. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/data/handle_imbalance.py +43 -43
  11. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/data/split_data.py +83 -83
  12. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/data/transforms.py +76 -76
  13. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/layers/__init__.py +15 -15
  14. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/layers/attention.py +193 -193
  15. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/layers/drop.py +34 -34
  16. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/layers/featextractor.py +55 -55
  17. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/layers/global_query.py +64 -64
  18. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/layers/mlp.py +41 -41
  19. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/layers/patch.py +137 -137
  20. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/layers/reducesize.py +44 -44
  21. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/layers/se.py +27 -27
  22. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/layers/transformer.py +408 -408
  23. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/layers/weight_init.py +29 -29
  24. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/layers/window.py +21 -21
  25. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/models/ms_eff_gcvit.py +288 -288
  26. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/models/ms_eff_vit.py +264 -264
  27. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/optimizer/build_optimizer.py +159 -159
  28. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/scheduler/fetch_scheduler.py +58 -58
  29. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/utils/__init__.py +3 -3
  30. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/utils/build_metrics.py +22 -22
  31. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/utils/early_stopping.py +23 -23
  32. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/utils/meter.py +25 -25
  33. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/utils/seed.py +22 -22
  34. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard.egg-info/PKG-INFO +546 -534
  35. deepguard-0.3.2/deepguard.egg-info/requires.txt +14 -0
  36. {deepguard-0.3.0 → deepguard-0.3.2}/explainability/__init__.py +12 -12
  37. {deepguard-0.3.0 → deepguard-0.3.2}/explainability/cam_evaluator.py +47 -47
  38. {deepguard-0.3.0 → deepguard-0.3.2}/explainability/explainer/base_explainer.py +196 -196
  39. {deepguard-0.3.0 → deepguard-0.3.2}/explainability/explainer/cam_explainer.py +318 -318
  40. {deepguard-0.3.0 → deepguard-0.3.2}/explainability/explainer/eigenvalue_explainer.py +35 -35
  41. {deepguard-0.3.0 → deepguard-0.3.2}/explainability/explainer/gradient_explainer.py +47 -47
  42. {deepguard-0.3.0 → deepguard-0.3.2}/explainability/explainer/misc_explainer.py +13 -13
  43. {deepguard-0.3.0 → deepguard-0.3.2}/explainability/explainer/perturbation_explainer.py +23 -23
  44. {deepguard-0.3.0 → deepguard-0.3.2}/explainability/metrics/cam_mult_image.py +36 -36
  45. {deepguard-0.3.0 → deepguard-0.3.2}/explainability/metrics/perturbation_confidence.py +108 -108
  46. {deepguard-0.3.0 → deepguard-0.3.2}/explainability/metrics/road.py +153 -153
  47. {deepguard-0.3.0 → deepguard-0.3.2}/explainability/utils/image.py +86 -86
  48. {deepguard-0.3.0 → deepguard-0.3.2}/explainability/utils/model_targets.py +15 -15
  49. {deepguard-0.3.0 → deepguard-0.3.2}/explainability/utils/reshape_transforms.py +10 -10
  50. {deepguard-0.3.0 → deepguard-0.3.2}/inference/image_predictor.py +113 -113
  51. {deepguard-0.3.0 → deepguard-0.3.2}/inference/image_predictor_prt.py +131 -131
  52. {deepguard-0.3.0 → deepguard-0.3.2}/inference/predict_video.py +153 -153
  53. {deepguard-0.3.0 → deepguard-0.3.2}/inference/utils.py +4 -4
  54. {deepguard-0.3.0 → deepguard-0.3.2}/inference/video_predictor.py +194 -194
  55. {deepguard-0.3.0 → deepguard-0.3.2}/inference/video_predictor_prt.py +257 -257
  56. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/celeb_df_v2/crop_face.py +193 -193
  57. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/celeb_df_v2/detect_original_face.py +128 -128
  58. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/celeb_df_v2/utils.py +59 -59
  59. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/face_detector.py +198 -198
  60. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/ff++/crop_face.py +200 -200
  61. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/ff++/detect_original_face.py +139 -139
  62. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/ff++/split_data.py +126 -126
  63. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/ff++/utils.py +64 -64
  64. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/frame_extractor.py +195 -195
  65. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/kodf/crop_face.py +203 -203
  66. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/kodf/detect_original_face.py +137 -137
  67. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/kodf/generate_metadata.py +74 -74
  68. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/kodf/split_data.py +106 -106
  69. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/kodf/utils.py +71 -71
  70. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/landmark_detector.py +95 -95
  71. {deepguard-0.3.0 → deepguard-0.3.2}/pyproject.toml +62 -47
  72. {deepguard-0.3.0 → deepguard-0.3.2}/setup.cfg +4 -4
  73. deepguard-0.3.0/deepguard.egg-info/requires.txt +0 -5
  74. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/models/__init__.py +0 -0
  75. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/optimizer/__init__.py +0 -0
  76. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard/scheduler/__init__.py +0 -0
  77. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard.egg-info/SOURCES.txt +0 -0
  78. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard.egg-info/dependency_links.txt +0 -0
  79. {deepguard-0.3.0 → deepguard-0.3.2}/deepguard.egg-info/top_level.txt +0 -0
  80. {deepguard-0.3.0 → deepguard-0.3.2}/explainability/metrics/__init__.py +0 -0
  81. {deepguard-0.3.0 → deepguard-0.3.2}/inference/__init__.py +0 -0
  82. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/__init__.py +0 -0
  83. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/celeb_df_v2/__init__.py +0 -0
  84. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/celeb_df_v2/split_data.py +0 -0
  85. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/ff++/__init__.py +0 -0
  86. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/kodf/__init__.py +0 -0
  87. {deepguard-0.3.0 → deepguard-0.3.2}/preprocess/yolov8n-face.pt +0 -0
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 MOONSUB HAN
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 MOONSUB HAN
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.