megadetector 5.0.10__py3-none-any.whl → 5.0.12__py3-none-any.whl

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.

Potentially problematic release.


This version of megadetector might be problematic. Click here for more details.

Files changed (226) hide show
  1. {api → megadetector/api}/batch_processing/api_core/batch_service/score.py +2 -2
  2. {api → megadetector/api}/synchronous/api_core/animal_detection_api/api_backend.py +1 -1
  3. {api → megadetector/api}/synchronous/api_core/animal_detection_api/api_frontend.py +1 -1
  4. {classification → megadetector/classification}/analyze_failed_images.py +3 -3
  5. {classification → megadetector/classification}/cache_batchapi_outputs.py +1 -1
  6. {classification → megadetector/classification}/create_classification_dataset.py +1 -1
  7. {classification → megadetector/classification}/crop_detections.py +1 -1
  8. {classification → megadetector/classification}/detect_and_crop.py +5 -5
  9. {classification → megadetector/classification}/evaluate_model.py +1 -1
  10. {classification → megadetector/classification}/json_to_azcopy_list.py +2 -2
  11. {classification → megadetector/classification}/json_validator.py +13 -9
  12. {classification → megadetector/classification}/map_classification_categories.py +1 -1
  13. {classification → megadetector/classification}/merge_classification_detection_output.py +1 -1
  14. {classification → megadetector/classification}/run_classifier.py +2 -1
  15. {classification → megadetector/classification}/train_classifier.py +8 -6
  16. {classification → megadetector/classification}/train_classifier_tf.py +10 -9
  17. {classification → megadetector/classification}/train_utils.py +3 -2
  18. {data_management → megadetector/data_management}/camtrap_dp_to_coco.py +4 -3
  19. {data_management → megadetector/data_management}/cct_json_utils.py +2 -2
  20. {data_management → megadetector/data_management}/cct_to_md.py +1 -1
  21. {data_management → megadetector/data_management}/coco_to_labelme.py +1 -1
  22. {data_management → megadetector/data_management}/coco_to_yolo.py +1 -1
  23. {data_management → megadetector/data_management}/databases/integrity_check_json_db.py +2 -2
  24. {data_management → megadetector/data_management}/get_image_sizes.py +4 -3
  25. {data_management → megadetector/data_management}/importers/auckland_doc_test_to_json.py +6 -5
  26. {data_management → megadetector/data_management}/importers/auckland_doc_to_json.py +4 -3
  27. {data_management → megadetector/data_management}/importers/awc_to_json.py +6 -4
  28. {data_management → megadetector/data_management}/importers/bellevue_to_json.py +3 -3
  29. {data_management → megadetector/data_management}/importers/cacophony-thermal-importer.py +4 -4
  30. {data_management → megadetector/data_management}/importers/carrizo_shrubfree_2018.py +5 -4
  31. {data_management → megadetector/data_management}/importers/carrizo_trail_cam_2017.py +8 -6
  32. {data_management → megadetector/data_management}/importers/cct_field_adjustments.py +2 -1
  33. {data_management → megadetector/data_management}/importers/channel_islands_to_cct.py +2 -2
  34. {data_management → megadetector/data_management}/importers/ena24_to_json.py +6 -5
  35. {data_management → megadetector/data_management}/importers/filenames_to_json.py +2 -1
  36. {data_management → megadetector/data_management}/importers/helena_to_cct.py +7 -6
  37. {data_management → megadetector/data_management}/importers/idaho-camera-traps.py +6 -6
  38. {data_management → megadetector/data_management}/importers/idfg_iwildcam_lila_prep.py +4 -4
  39. {data_management → megadetector/data_management}/importers/jb_csv_to_json.py +1 -1
  40. {data_management → megadetector/data_management}/importers/missouri_to_json.py +4 -3
  41. {data_management → megadetector/data_management}/importers/noaa_seals_2019.py +2 -2
  42. {data_management → megadetector/data_management}/importers/pc_to_json.py +5 -5
  43. {data_management → megadetector/data_management}/importers/prepare-noaa-fish-data-for-lila.py +3 -3
  44. {data_management → megadetector/data_management}/importers/prepare_zsl_imerit.py +3 -3
  45. {data_management → megadetector/data_management}/importers/rspb_to_json.py +2 -2
  46. {data_management → megadetector/data_management}/importers/save_the_elephants_survey_A.py +4 -4
  47. {data_management → megadetector/data_management}/importers/save_the_elephants_survey_B.py +6 -9
  48. {data_management → megadetector/data_management}/importers/snapshot_safari_importer.py +4 -4
  49. {data_management → megadetector/data_management}/importers/snapshot_safari_importer_reprise.py +2 -2
  50. {data_management → megadetector/data_management}/importers/snapshot_serengeti_lila.py +4 -4
  51. {data_management → megadetector/data_management}/importers/timelapse_csv_set_to_json.py +3 -3
  52. {data_management → megadetector/data_management}/importers/ubc_to_json.py +3 -3
  53. {data_management → megadetector/data_management}/importers/umn_to_json.py +2 -2
  54. {data_management → megadetector/data_management}/importers/wellington_to_json.py +3 -3
  55. {data_management → megadetector/data_management}/importers/wi_to_json.py +3 -2
  56. {data_management → megadetector/data_management}/labelme_to_coco.py +6 -7
  57. {data_management → megadetector/data_management}/labelme_to_yolo.py +2 -2
  58. {data_management → megadetector/data_management}/lila/add_locations_to_island_camera_traps.py +4 -4
  59. {data_management → megadetector/data_management}/lila/create_lila_blank_set.py +10 -9
  60. {data_management → megadetector/data_management}/lila/create_lila_test_set.py +3 -2
  61. {data_management → megadetector/data_management}/lila/create_links_to_md_results_files.py +1 -1
  62. {data_management → megadetector/data_management}/lila/download_lila_subset.py +5 -4
  63. {data_management → megadetector/data_management}/lila/generate_lila_per_image_labels.py +6 -5
  64. {data_management → megadetector/data_management}/lila/get_lila_annotation_counts.py +2 -2
  65. {data_management → megadetector/data_management}/lila/get_lila_image_counts.py +2 -1
  66. {data_management → megadetector/data_management}/lila/lila_common.py +5 -5
  67. {data_management → megadetector/data_management}/lila/test_lila_metadata_urls.py +2 -2
  68. {data_management → megadetector/data_management}/ocr_tools.py +6 -6
  69. {data_management → megadetector/data_management}/read_exif.py +2 -2
  70. {data_management → megadetector/data_management}/remap_coco_categories.py +1 -1
  71. {data_management → megadetector/data_management}/remove_exif.py +1 -1
  72. {data_management → megadetector/data_management}/resize_coco_dataset.py +4 -4
  73. {data_management → megadetector/data_management}/wi_download_csv_to_coco.py +3 -3
  74. {data_management → megadetector/data_management}/yolo_output_to_md_output.py +5 -5
  75. {data_management → megadetector/data_management}/yolo_to_coco.py +9 -9
  76. {detection → megadetector/detection}/process_video.py +9 -10
  77. {detection → megadetector/detection}/pytorch_detector.py +12 -8
  78. {detection → megadetector/detection}/run_detector.py +6 -6
  79. {detection → megadetector/detection}/run_detector_batch.py +12 -12
  80. {detection → megadetector/detection}/run_inference_with_yolov5_val.py +12 -12
  81. {detection → megadetector/detection}/run_tiled_inference.py +8 -9
  82. {detection → megadetector/detection}/tf_detector.py +3 -2
  83. {detection → megadetector/detection}/video_utils.py +2 -2
  84. {api/batch_processing → megadetector}/postprocessing/add_max_conf.py +1 -1
  85. {api/batch_processing → megadetector}/postprocessing/categorize_detections_by_size.py +1 -1
  86. {api/batch_processing → megadetector}/postprocessing/combine_api_outputs.py +1 -1
  87. {api/batch_processing → megadetector}/postprocessing/compare_batch_results.py +5 -5
  88. {api/batch_processing → megadetector}/postprocessing/convert_output_format.py +4 -5
  89. {api/batch_processing → megadetector}/postprocessing/load_api_results.py +1 -1
  90. {api/batch_processing → megadetector}/postprocessing/md_to_coco.py +3 -3
  91. {api/batch_processing → megadetector}/postprocessing/md_to_labelme.py +3 -3
  92. {api/batch_processing → megadetector}/postprocessing/merge_detections.py +1 -1
  93. {api/batch_processing → megadetector}/postprocessing/postprocess_batch_results.py +19 -21
  94. {api/batch_processing → megadetector}/postprocessing/remap_detection_categories.py +1 -1
  95. {api/batch_processing → megadetector}/postprocessing/render_detection_confusion_matrix.py +5 -6
  96. {api/batch_processing → megadetector}/postprocessing/repeat_detection_elimination/find_repeat_detections.py +3 -3
  97. {api/batch_processing → megadetector}/postprocessing/repeat_detection_elimination/remove_repeat_detections.py +3 -2
  98. {api/batch_processing → megadetector}/postprocessing/repeat_detection_elimination/repeat_detections_core.py +11 -11
  99. {api/batch_processing → megadetector}/postprocessing/separate_detections_into_folders.py +3 -4
  100. {api/batch_processing → megadetector}/postprocessing/subset_json_detector_output.py +2 -2
  101. {api/batch_processing → megadetector}/postprocessing/top_folders_to_bottom.py +1 -1
  102. {taxonomy_mapping → megadetector/taxonomy_mapping}/map_lila_taxonomy_to_wi_taxonomy.py +2 -2
  103. {taxonomy_mapping → megadetector/taxonomy_mapping}/map_new_lila_datasets.py +2 -6
  104. {taxonomy_mapping → megadetector/taxonomy_mapping}/preview_lila_taxonomy.py +6 -7
  105. {taxonomy_mapping → megadetector/taxonomy_mapping}/retrieve_sample_image.py +1 -1
  106. {taxonomy_mapping → megadetector/taxonomy_mapping}/simple_image_download.py +2 -1
  107. {taxonomy_mapping → megadetector/taxonomy_mapping}/species_lookup.py +1 -1
  108. {taxonomy_mapping → megadetector/taxonomy_mapping}/taxonomy_csv_checker.py +1 -1
  109. {taxonomy_mapping → megadetector/taxonomy_mapping}/validate_lila_category_mappings.py +1 -1
  110. {md_utils → megadetector/utils}/azure_utils.py +7 -3
  111. {md_utils → megadetector/utils}/directory_listing.py +1 -1
  112. {md_utils → megadetector/utils}/md_tests.py +29 -29
  113. {md_utils → megadetector/utils}/split_locations_into_train_val.py +1 -1
  114. {md_utils → megadetector/utils}/write_html_image_list.py +1 -1
  115. {md_visualization → megadetector/visualization}/render_images_with_thumbnails.py +3 -3
  116. {md_visualization → megadetector/visualization}/visualization_utils.py +6 -7
  117. {md_visualization → megadetector/visualization}/visualize_db.py +3 -4
  118. {md_visualization → megadetector/visualization}/visualize_detector_output.py +9 -10
  119. {megadetector-5.0.10.dist-info → megadetector-5.0.12.dist-info}/LICENSE +0 -0
  120. {megadetector-5.0.10.dist-info → megadetector-5.0.12.dist-info}/METADATA +12 -11
  121. megadetector-5.0.12.dist-info/RECORD +199 -0
  122. megadetector-5.0.12.dist-info/top_level.txt +1 -0
  123. api/batch_processing/data_preparation/manage_local_batch.py +0 -2391
  124. api/batch_processing/data_preparation/manage_video_batch.py +0 -327
  125. api/synchronous/api_core/animal_detection_api/data_management/annotations/annotation_constants.py +0 -47
  126. api/synchronous/api_core/animal_detection_api/detection/detector_training/copy_checkpoints.py +0 -43
  127. api/synchronous/api_core/animal_detection_api/detection/process_video.py +0 -543
  128. api/synchronous/api_core/animal_detection_api/detection/pytorch_detector.py +0 -304
  129. api/synchronous/api_core/animal_detection_api/detection/run_detector.py +0 -627
  130. api/synchronous/api_core/animal_detection_api/detection/run_detector_batch.py +0 -1029
  131. api/synchronous/api_core/animal_detection_api/detection/run_inference_with_yolov5_val.py +0 -581
  132. api/synchronous/api_core/animal_detection_api/detection/run_tiled_inference.py +0 -754
  133. api/synchronous/api_core/animal_detection_api/detection/tf_detector.py +0 -165
  134. api/synchronous/api_core/animal_detection_api/detection/video_utils.py +0 -495
  135. api/synchronous/api_core/animal_detection_api/md_utils/azure_utils.py +0 -174
  136. api/synchronous/api_core/animal_detection_api/md_utils/ct_utils.py +0 -262
  137. api/synchronous/api_core/animal_detection_api/md_utils/directory_listing.py +0 -251
  138. api/synchronous/api_core/animal_detection_api/md_utils/matlab_porting_tools.py +0 -97
  139. api/synchronous/api_core/animal_detection_api/md_utils/path_utils.py +0 -416
  140. api/synchronous/api_core/animal_detection_api/md_utils/process_utils.py +0 -110
  141. api/synchronous/api_core/animal_detection_api/md_utils/sas_blob_utils.py +0 -509
  142. api/synchronous/api_core/animal_detection_api/md_utils/string_utils.py +0 -59
  143. api/synchronous/api_core/animal_detection_api/md_utils/url_utils.py +0 -144
  144. api/synchronous/api_core/animal_detection_api/md_utils/write_html_image_list.py +0 -226
  145. api/synchronous/api_core/animal_detection_api/md_visualization/visualization_utils.py +0 -841
  146. detection/detector_training/model_main_tf2.py +0 -114
  147. docs/source/conf.py +0 -43
  148. megadetector-5.0.10.dist-info/RECORD +0 -224
  149. megadetector-5.0.10.dist-info/top_level.txt +0 -8
  150. {api → megadetector/api}/__init__.py +0 -0
  151. {api → megadetector/api}/batch_processing/__init__.py +0 -0
  152. {api → megadetector/api}/batch_processing/api_core/__init__.py +0 -0
  153. {api → megadetector/api}/batch_processing/api_core/batch_service/__init__.py +0 -0
  154. {api → megadetector/api}/batch_processing/api_core/server.py +0 -0
  155. {api → megadetector/api}/batch_processing/api_core/server_api_config.py +0 -0
  156. {api → megadetector/api}/batch_processing/api_core/server_app_config.py +0 -0
  157. {api → megadetector/api}/batch_processing/api_core/server_batch_job_manager.py +0 -0
  158. {api → megadetector/api}/batch_processing/api_core/server_job_status_table.py +0 -0
  159. {api → megadetector/api}/batch_processing/api_core/server_orchestration.py +0 -0
  160. {api → megadetector/api}/batch_processing/api_core/server_utils.py +0 -0
  161. {api → megadetector/api}/batch_processing/api_core_support/__init__.py +0 -0
  162. {api → megadetector/api}/batch_processing/api_core_support/aggregate_results_manually.py +0 -0
  163. {api → megadetector/api}/batch_processing/api_support/__init__.py +0 -0
  164. {api → megadetector/api}/batch_processing/api_support/summarize_daily_activity.py +0 -0
  165. {api → megadetector/api}/batch_processing/data_preparation/__init__.py +0 -0
  166. {api → megadetector/api}/batch_processing/integration/digiKam/setup.py +0 -0
  167. {api → megadetector/api}/batch_processing/integration/digiKam/xmp_integration.py +0 -0
  168. {api → megadetector/api}/batch_processing/integration/eMammal/test_scripts/config_template.py +0 -0
  169. {api → megadetector/api}/batch_processing/integration/eMammal/test_scripts/push_annotations_to_emammal.py +0 -0
  170. {api → megadetector/api}/batch_processing/integration/eMammal/test_scripts/select_images_for_testing.py +0 -0
  171. {api/batch_processing/postprocessing → megadetector/api/synchronous}/__init__.py +0 -0
  172. {api/synchronous → megadetector/api/synchronous/api_core/animal_detection_api}/__init__.py +0 -0
  173. {api → megadetector/api}/synchronous/api_core/animal_detection_api/config.py +0 -0
  174. {api/synchronous/api_core/animal_detection_api → megadetector/api/synchronous/api_core/tests}/__init__.py +0 -0
  175. {api → megadetector/api}/synchronous/api_core/tests/load_test.py +0 -0
  176. {api/synchronous/api_core/tests → megadetector/classification}/__init__.py +0 -0
  177. {classification → megadetector/classification}/aggregate_classifier_probs.py +0 -0
  178. {classification → megadetector/classification}/csv_to_json.py +0 -0
  179. {classification → megadetector/classification}/efficientnet/__init__.py +0 -0
  180. {classification → megadetector/classification}/efficientnet/model.py +0 -0
  181. {classification → megadetector/classification}/efficientnet/utils.py +0 -0
  182. {classification → megadetector/classification}/identify_mislabeled_candidates.py +0 -0
  183. {classification → megadetector/classification}/prepare_classification_script.py +0 -0
  184. {classification → megadetector/classification}/prepare_classification_script_mc.py +0 -0
  185. {classification → megadetector/classification}/save_mislabeled.py +0 -0
  186. {classification → megadetector/data_management}/__init__.py +0 -0
  187. {data_management → megadetector/data_management/annotations}/__init__.py +0 -0
  188. {data_management → megadetector/data_management}/annotations/annotation_constants.py +0 -0
  189. {data_management → megadetector/data_management}/cct_to_wi.py +0 -0
  190. {data_management/annotations → megadetector/data_management/databases}/__init__.py +0 -0
  191. {data_management → megadetector/data_management}/databases/add_width_and_height_to_db.py +0 -0
  192. {data_management → megadetector/data_management}/databases/combine_coco_camera_traps_files.py +0 -0
  193. {data_management → megadetector/data_management}/databases/subset_json_db.py +0 -0
  194. {data_management → megadetector/data_management}/generate_crops_from_cct.py +0 -0
  195. {data_management → megadetector/data_management}/importers/add_nacti_sizes.py +0 -0
  196. {data_management → megadetector/data_management}/importers/add_timestamps_to_icct.py +0 -0
  197. {data_management → megadetector/data_management}/importers/animl_results_to_md_results.py +0 -0
  198. {data_management → megadetector/data_management}/importers/eMammal/copy_and_unzip_emammal.py +0 -0
  199. {data_management → megadetector/data_management}/importers/eMammal/eMammal_helpers.py +0 -0
  200. {data_management → megadetector/data_management}/importers/eMammal/make_eMammal_json.py +0 -0
  201. {data_management → megadetector/data_management}/importers/mcgill_to_json.py +0 -0
  202. {data_management → megadetector/data_management}/importers/nacti_fieldname_adjustments.py +0 -0
  203. {data_management → megadetector/data_management}/importers/plot_wni_giraffes.py +0 -0
  204. {data_management → megadetector/data_management}/importers/snapshotserengeti/make_full_SS_json.py +0 -0
  205. {data_management → megadetector/data_management}/importers/snapshotserengeti/make_per_season_SS_json.py +0 -0
  206. {data_management → megadetector/data_management}/importers/sulross_get_exif.py +0 -0
  207. {data_management → megadetector/data_management}/importers/zamba_results_to_md_results.py +0 -0
  208. {data_management/databases → megadetector/data_management/lila}/__init__.py +0 -0
  209. {data_management → megadetector/data_management}/lila/add_locations_to_nacti.py +0 -0
  210. {data_management/lila → megadetector/detection}/__init__.py +0 -0
  211. {detection → megadetector/detection/detector_training}/__init__.py +0 -0
  212. {api/synchronous/api_core/animal_detection_api → megadetector}/detection/detector_training/model_main_tf2.py +0 -0
  213. {detection/detector_training → megadetector/postprocessing}/__init__.py +0 -0
  214. {md_utils → megadetector/taxonomy_mapping}/__init__.py +0 -0
  215. {taxonomy_mapping → megadetector/taxonomy_mapping}/prepare_lila_taxonomy_release.py +0 -0
  216. {taxonomy_mapping → megadetector/taxonomy_mapping}/taxonomy_graph.py +0 -0
  217. {md_visualization → megadetector/utils}/__init__.py +0 -0
  218. {md_utils → megadetector/utils}/ct_utils.py +0 -0
  219. {md_utils → megadetector/utils}/path_utils.py +0 -0
  220. {md_utils → megadetector/utils}/process_utils.py +0 -0
  221. {md_utils → megadetector/utils}/sas_blob_utils.py +0 -0
  222. {md_utils → megadetector/utils}/string_utils.py +0 -0
  223. {md_utils → megadetector/utils}/url_utils.py +0 -0
  224. {taxonomy_mapping → megadetector/visualization}/__init__.py +0 -0
  225. {md_visualization → megadetector/visualization}/plot_utils.py +0 -0
  226. {megadetector-5.0.10.dist-info → megadetector-5.0.12.dist-info}/WHEEL +0 -0
@@ -1,114 +0,0 @@
1
- # Lint as: python3
2
- # Copyright 2020 The TensorFlow Authors. All Rights Reserved.
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- # ==============================================================================
16
-
17
- r"""Creates and runs TF2 object detection models.
18
- For local training/evaluation run:
19
- PIPELINE_CONFIG_PATH=path/to/pipeline.config
20
- MODEL_DIR=/tmp/model_outputs
21
- NUM_TRAIN_STEPS=10000
22
- SAMPLE_1_OF_N_EVAL_EXAMPLES=1
23
- python model_main_tf2.py -- \
24
- --model_dir=$MODEL_DIR --num_train_steps=$NUM_TRAIN_STEPS \
25
- --sample_1_of_n_eval_examples=$SAMPLE_1_OF_N_EVAL_EXAMPLES \
26
- --pipeline_config_path=$PIPELINE_CONFIG_PATH \
27
- --alsologtostderr
28
- """
29
- from absl import flags
30
- import tensorflow.compat.v2 as tf
31
- from object_detection import model_lib_v2
32
-
33
- flags.DEFINE_string('pipeline_config_path', None, 'Path to pipeline config '
34
- 'file.')
35
- flags.DEFINE_integer('num_train_steps', None, 'Number of train steps.')
36
- flags.DEFINE_bool('eval_on_train_data', False, 'Enable evaluating on train '
37
- 'data (only supported in distributed training).')
38
- flags.DEFINE_integer('sample_1_of_n_eval_examples', None, 'Will sample one of '
39
- 'every n eval input examples, where n is provided.')
40
- flags.DEFINE_integer('sample_1_of_n_eval_on_train_examples', 5, 'Will sample '
41
- 'one of every n train input examples for evaluation, '
42
- 'where n is provided. This is only used if '
43
- '`eval_training_data` is True.')
44
- flags.DEFINE_string(
45
- 'model_dir', None, 'Path to output model directory '
46
- 'where event and checkpoint files will be written.')
47
- flags.DEFINE_string(
48
- 'checkpoint_dir', None, 'Path to directory holding a checkpoint. If '
49
- '`checkpoint_dir` is provided, this binary operates in eval-only mode, '
50
- 'writing resulting metrics to `model_dir`.')
51
-
52
- flags.DEFINE_integer('eval_timeout', 3600, 'Number of seconds to wait for an'
53
- 'evaluation checkpoint before exiting.')
54
-
55
- flags.DEFINE_bool('use_tpu', False, 'Whether the job is executing on a TPU.')
56
- flags.DEFINE_string(
57
- 'tpu_name',
58
- default=None,
59
- help='Name of the Cloud TPU for Cluster Resolvers.')
60
- flags.DEFINE_integer(
61
- 'num_workers', 1, 'When num_workers > 1, training uses '
62
- 'MultiWorkerMirroredStrategy. When num_workers = 1 it uses '
63
- 'MirroredStrategy.')
64
- flags.DEFINE_integer(
65
- 'checkpoint_every_n', 1000, 'Integer defining how often we checkpoint.')
66
- flags.DEFINE_boolean('record_summaries', True,
67
- ('Whether or not to record summaries defined by the model'
68
- ' or the training pipeline. This does not impact the'
69
- ' summaries of the loss values which are always'
70
- ' recorded.'))
71
-
72
- FLAGS = flags.FLAGS
73
-
74
-
75
- def main(unused_argv):
76
- flags.mark_flag_as_required('model_dir')
77
- flags.mark_flag_as_required('pipeline_config_path')
78
- tf.config.set_soft_device_placement(True)
79
-
80
- if FLAGS.checkpoint_dir:
81
- model_lib_v2.eval_continuously(
82
- pipeline_config_path=FLAGS.pipeline_config_path,
83
- model_dir=FLAGS.model_dir,
84
- train_steps=FLAGS.num_train_steps,
85
- sample_1_of_n_eval_examples=FLAGS.sample_1_of_n_eval_examples,
86
- sample_1_of_n_eval_on_train_examples=(
87
- FLAGS.sample_1_of_n_eval_on_train_examples),
88
- checkpoint_dir=FLAGS.checkpoint_dir,
89
- wait_interval=300, timeout=FLAGS.eval_timeout)
90
- else:
91
- if FLAGS.use_tpu:
92
- # TPU is automatically inferred if tpu_name is None and
93
- # we are running under cloud ai-platform.
94
- resolver = tf.distribute.cluster_resolver.TPUClusterResolver(
95
- FLAGS.tpu_name)
96
- tf.config.experimental_connect_to_cluster(resolver)
97
- tf.tpu.experimental.initialize_tpu_system(resolver)
98
- strategy = tf.distribute.experimental.TPUStrategy(resolver)
99
- elif FLAGS.num_workers > 1:
100
- strategy = tf.distribute.experimental.MultiWorkerMirroredStrategy()
101
- else:
102
- strategy = tf.compat.v2.distribute.MirroredStrategy()
103
-
104
- with strategy.scope():
105
- model_lib_v2.train_loop(
106
- pipeline_config_path=FLAGS.pipeline_config_path,
107
- model_dir=FLAGS.model_dir,
108
- train_steps=FLAGS.num_train_steps,
109
- use_tpu=FLAGS.use_tpu,
110
- checkpoint_every_n=FLAGS.checkpoint_every_n,
111
- record_summaries=FLAGS.record_summaries)
112
-
113
- if __name__ == '__main__':
114
- tf.compat.v1.app.run()
docs/source/conf.py DELETED
@@ -1,43 +0,0 @@
1
- import sys
2
- import os
3
-
4
- project = 'MegaDetector'
5
- copyright = '2024, Your friendly neighborhood MegaDetector team'
6
- author = 'Your friendly neighborhood MegaDetector team'
7
-
8
- sys.path.insert(0, os.path.abspath("../.."))
9
-
10
- extensions = [
11
- "sphinx.ext.napoleon",
12
- "sphinx.ext.autodoc",
13
- "sphinx.ext.viewcode",
14
- "sphinx_mdinclude",
15
- "sphinx_argparse_cli"
16
- ]
17
-
18
- autodoc_mock_imports = ["azure", "deepdiff", "magic", "tensorflow", "pytesseract"]
19
-
20
- myst_enable_extensions = [
21
- "colon_fence",
22
- ]
23
-
24
- html_theme = 'sphinx_rtd_theme'
25
-
26
- # collapse_navigation doesn't actually work
27
- html_theme_options = {'navigation_depth': 2, 'collapse_navigation': False}
28
-
29
- # html_theme = 'sphinx_book_theme'
30
- # html_theme_options['show_navbar_depth'] = 2
31
-
32
- # html_static_path = ['_static']
33
-
34
- # Hide "bases: object" from all classes that don't define a base class
35
- from sphinx.ext import autodoc
36
-
37
- class MockedClassDocumenter(autodoc.ClassDocumenter):
38
- def add_line(self, line: str, source: str, *lineno: int) -> None:
39
- if line == " Bases: :py:class:`object`":
40
- return
41
- super().add_line(line, source, *lineno)
42
-
43
- autodoc.ClassDocumenter = MockedClassDocumenter
@@ -1,224 +0,0 @@
1
- api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- api/batch_processing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- api/batch_processing/api_core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- api/batch_processing/api_core/server.py,sha256=BNqM5EK29B0haCW7rdeOzVqcCJDziZiD0Etc1mPs56c,11668
5
- api/batch_processing/api_core/server_api_config.py,sha256=G8X5wgqEXPrWWQpgDI9ua-JktiUgy9mOpEltXSIazLQ,3318
6
- api/batch_processing/api_core/server_app_config.py,sha256=tQCFsFv0wJCegHfnu-Za3okdXwEd4U522hiM0YGNkMY,1860
7
- api/batch_processing/api_core/server_batch_job_manager.py,sha256=K7fMFBJA8Z1SkA4eBM-nymcq7VQjwZ6ZRaNnNKFlat8,10324
8
- api/batch_processing/api_core/server_job_status_table.py,sha256=3fJrdyeoVLGbbbdKy7cAVL_ZHbCmCQ2o5D26jBBQRJo,6239
9
- api/batch_processing/api_core/server_orchestration.py,sha256=LYHABzhOvP0NrM1VIjI6Vwb95YZ5xjQ52mUJW8oIOQ0,17003
10
- api/batch_processing/api_core/server_utils.py,sha256=oFusP1E29op5DN1nEaR-jQZgRExqMDdzmRL6BHj8EDk,3314
11
- api/batch_processing/api_core/batch_service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
- api/batch_processing/api_core/batch_service/score.py,sha256=hGgvjbXZTyk2lGdYDg1zWQLwQ_Yboj5p_EhbjbXcud8,17346
13
- api/batch_processing/api_core_support/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
- api/batch_processing/api_core_support/aggregate_results_manually.py,sha256=pPLRVb54kMzcndiRQx0JGna3v9cSX__hBc_7PZ8NFEU,2274
15
- api/batch_processing/api_support/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
- api/batch_processing/api_support/summarize_daily_activity.py,sha256=5H3DyXtdIW5uCp09Fbu9Tdf0hgfNKYnzv7v8Q7CPsDc,5382
17
- api/batch_processing/data_preparation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
- api/batch_processing/data_preparation/manage_local_batch.py,sha256=7vTSAsw6LErwvC0sORNDuOrWdHZY6mwN3MRwObmOUo4,89072
19
- api/batch_processing/data_preparation/manage_video_batch.py,sha256=53QiCL1vxJfKA8BmC2wr-aJKWE6KfUchuuJkp6C0D1E,9649
20
- api/batch_processing/integration/digiKam/setup.py,sha256=7P1X3JYrBDXmLUeLRrzxNfDkL5lo-pY8nXsp9Cz8rOI,203
21
- api/batch_processing/integration/digiKam/xmp_integration.py,sha256=zk5s7dD-FIkNnRxECT-0TAuBw7R__Or5_ft7Ha3iqMM,17774
22
- api/batch_processing/integration/eMammal/test_scripts/config_template.py,sha256=UnvrgaFRBu59MuVUJa2WpG8ebcOJWcNeZEx6GWuYLzc,73
23
- api/batch_processing/integration/eMammal/test_scripts/push_annotations_to_emammal.py,sha256=_mfKTNfLtQKaOK5YuG5mTm_Q_24_0K4wR3eLzJwXVPs,3607
24
- api/batch_processing/integration/eMammal/test_scripts/select_images_for_testing.py,sha256=OYMu97p8vprSv03QcnS6aSxPBocn9sgaozfUqq_JpyM,1369
25
- api/batch_processing/postprocessing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
- api/batch_processing/postprocessing/add_max_conf.py,sha256=0t8c1mTsr9XIZzd0iAo7YMg0RkX6F12ltmTQMeCmpv8,1504
27
- api/batch_processing/postprocessing/categorize_detections_by_size.py,sha256=JsZSYjN40HprrcOozruJ1sTb0tY9V7e7G8wjFZr5lKU,5677
28
- api/batch_processing/postprocessing/combine_api_outputs.py,sha256=QdAjFhBzoCW1tlC5hGhkII5E91JS1tyMvJcC5k7us6A,8524
29
- api/batch_processing/postprocessing/compare_batch_results.py,sha256=JgNsZat4jVOKonschgD-LaIOszV-XFAEzCqo-77xTt4,38211
30
- api/batch_processing/postprocessing/convert_output_format.py,sha256=66bgy6dGkP4_EM4VnC0WLe6NQ-X-mb3AyIuj2RQr7WU,14977
31
- api/batch_processing/postprocessing/load_api_results.py,sha256=ItFPOIZhld-Tvse_zfzQighgPzs6pcRbQfLbYLUcwQA,6851
32
- api/batch_processing/postprocessing/md_to_coco.py,sha256=YCYH7oS5o4j6NupM1Yh7637KgOzoUqSh0zvfaJIkIug,11019
33
- api/batch_processing/postprocessing/md_to_labelme.py,sha256=c18CTlY3EiyU8sh0B8irIh22Caq-D-bdhwA5c4gv468,11670
34
- api/batch_processing/postprocessing/merge_detections.py,sha256=L_LfwcNEiPUya_xbj4NRpGAuCCJj6oQ4iWNbr8ff5hg,17163
35
- api/batch_processing/postprocessing/postprocess_batch_results.py,sha256=WVOGZLTQu5uWh0GJuj_3i1p6tKKUzdgp0Icxt268u7I,77286
36
- api/batch_processing/postprocessing/remap_detection_categories.py,sha256=cSvNYkbyCTAnrBlj7IOahVObiXrYYWAbhHSUAuCWj5s,6630
37
- api/batch_processing/postprocessing/render_detection_confusion_matrix.py,sha256=3JuvdgimxFkrecpphWzmOK6QyWR3MAkYPEY2MgQ9gDc,27342
38
- api/batch_processing/postprocessing/separate_detections_into_folders.py,sha256=1R0Gsg0uUuhf5y5FHK3iDB-J8RjBMHfs2tKlBilFwGQ,31181
39
- api/batch_processing/postprocessing/subset_json_detector_output.py,sha256=grJSfRUuP_3-inBdulOgpyElftsxYghXEioo2ezgBaQ,26404
40
- api/batch_processing/postprocessing/top_folders_to_bottom.py,sha256=O5FGvIseufNn8E2gT6ndo6qpxoR6zmWsA6diOqTDfXU,6273
41
- api/batch_processing/postprocessing/repeat_detection_elimination/find_repeat_detections.py,sha256=oCyMkFkUj4987DmsGpyYE-F31IfasV-Xj52ZKYTPhkY,9840
42
- api/batch_processing/postprocessing/repeat_detection_elimination/remove_repeat_detections.py,sha256=I4HgQm8X2atupmVE2adAOrxxjK-ScKnoAY3M95sJsgU,2836
43
- api/batch_processing/postprocessing/repeat_detection_elimination/repeat_detections_core.py,sha256=ot6FW7hIWgp_TS_2LGYchNrP_1vAR7HxKN64SnwxIb4,66477
44
- api/synchronous/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
- api/synchronous/api_core/animal_detection_api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
- api/synchronous/api_core/animal_detection_api/api_backend.py,sha256=MZEGFmmC3IzLms8vEvSmRGQYAp1xh6gomfZgtYzV3HQ,4932
47
- api/synchronous/api_core/animal_detection_api/api_frontend.py,sha256=_a-B81jVhqUD2hKQazJnf4WzImvbwrBuwtTIxJdExMY,10420
48
- api/synchronous/api_core/animal_detection_api/config.py,sha256=05fVcLx0KK3wWFi62Mr-m_soewVn81qqeObUh-a2mrA,982
49
- api/synchronous/api_core/animal_detection_api/data_management/annotations/annotation_constants.py,sha256=P2CZCbAE0ImLLfaNRb1SMlP3q1fULWAIjgrYOrF9L0g,1566
50
- api/synchronous/api_core/animal_detection_api/detection/process_video.py,sha256=b2xcQThAdlgirumxynHULYLviCr_q5sCDfdkKEqVFyU,22089
51
- api/synchronous/api_core/animal_detection_api/detection/pytorch_detector.py,sha256=nI2xctI6FSdbWjSFHYlMT0LTH6CCATOe9DF-I8MLEpc,11505
52
- api/synchronous/api_core/animal_detection_api/detection/run_detector.py,sha256=LBveNOLE3AWSTcQ1MUbbWXaQIutr9e2vtz6RG2SjlWQ,23821
53
- api/synchronous/api_core/animal_detection_api/detection/run_detector_batch.py,sha256=eivQu5yee5WtBmNQRQ2p636Gf8IB5slyrQL4QRZ2HeM,41849
54
- api/synchronous/api_core/animal_detection_api/detection/run_inference_with_yolov5_val.py,sha256=yxMFxQQDvkydWVpM0ecopDXtPi89gaqMX0TKjyxNyjI,22118
55
- api/synchronous/api_core/animal_detection_api/detection/run_tiled_inference.py,sha256=cs1IehE2DXj8Nr3CbnYMXqwcFM1vUBT1Rm5We5nlcSM,28785
56
- api/synchronous/api_core/animal_detection_api/detection/tf_detector.py,sha256=xOO8kzd-Um2X_sAZyop524LM53nipv5pNx8YueGTJrc,6760
57
- api/synchronous/api_core/animal_detection_api/detection/video_utils.py,sha256=E96hywSwA_jTUcJNFdkneKPcH0XH_e2qRT5ovV-5SFM,18317
58
- api/synchronous/api_core/animal_detection_api/detection/detector_training/copy_checkpoints.py,sha256=t2c3Q4Pf82tAp_OjSG-veIjRPrX0tJYi-bSQmGL2m4c,1091
59
- api/synchronous/api_core/animal_detection_api/detection/detector_training/model_main_tf2.py,sha256=YwNsZ7hkIFaEuwKU0rHG_VyqiR_0E01BbdlD0Yx4Smo,4936
60
- api/synchronous/api_core/animal_detection_api/md_utils/azure_utils.py,sha256=SVoQNSknYlBcpZeGrH2v3Qgm5kXxBrqM5Sx2L_Lax-I,6243
61
- api/synchronous/api_core/animal_detection_api/md_utils/ct_utils.py,sha256=3_8p5wNnopQZPCIbchQXYnJmhuUTcDw46I4SK3qb--g,7600
62
- api/synchronous/api_core/animal_detection_api/md_utils/directory_listing.py,sha256=b3yUwZqK7LdvswXenDo4Y0ue4f4zjgpvncfZmzPGBpI,9598
63
- api/synchronous/api_core/animal_detection_api/md_utils/matlab_porting_tools.py,sha256=9IFR_uWM1egCMZT3MgoUmdOP8mp7CcF7L9HEbN_A_1E,2005
64
- api/synchronous/api_core/animal_detection_api/md_utils/path_utils.py,sha256=9ZMyzejC_kzAQlymXGghAAgp_WjCjLuOxWJrAC13TAk,12397
65
- api/synchronous/api_core/animal_detection_api/md_utils/process_utils.py,sha256=_LMebsTQX2PFxERj0-LoC-XCua23RPw3heu-ckp0Tjo,3049
66
- api/synchronous/api_core/animal_detection_api/md_utils/sas_blob_utils.py,sha256=GpjHn33N2b-XeBAtU3xhGbTIYcBs4YrXHtbQDmlGFvY,16955
67
- api/synchronous/api_core/animal_detection_api/md_utils/string_utils.py,sha256=tFTC9TarPFGa7_UkKF0_t6Q2naH9IEsDVM2DOxwkFTQ,1277
68
- api/synchronous/api_core/animal_detection_api/md_utils/url_utils.py,sha256=aFN7_WvzMJqYHL9t-SGCP2A0-mlYu1-P0HkZwgzUsKg,4598
69
- api/synchronous/api_core/animal_detection_api/md_utils/write_html_image_list.py,sha256=myXMdOwUERZWp9p2RPu8TcStCsu2X7aJNtcomlhoeqA,7573
70
- api/synchronous/api_core/animal_detection_api/md_visualization/visualization_utils.py,sha256=Up8hfM_KYyToIUhTv3sSrXGoYl8Hm57NO5t5AHMW3tk,31680
71
- api/synchronous/api_core/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
72
- api/synchronous/api_core/tests/load_test.py,sha256=bxyk3Oufl0V79vRsCPeRtWlE2o2KRtVgiqs7TSyP-iU,3277
73
- classification/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
74
- classification/aggregate_classifier_probs.py,sha256=gj6PBCe12Z05r3FbOHXuNJHPWyIogoQJvt4kFzApOqg,3429
75
- classification/analyze_failed_images.py,sha256=FTpARQmTUE3Nr9sZqvYNWX66H3Syf7xUzhe5wTRXFIE,8413
76
- classification/cache_batchapi_outputs.py,sha256=F_5EBCD9NM_nh8L794SupOL2DYO927M7LTnIS22xNBg,6297
77
- classification/create_classification_dataset.py,sha256=rvQICS62_UC_xJ9VBflFd57_Sz2ML9N0hW9Zg6fZH6Y,25454
78
- classification/crop_detections.py,sha256=LkGMr9R3ScV1xmjl1Ouynmsia5qxUo3HLTBYEV4D70Q,20427
79
- classification/csv_to_json.py,sha256=hXxUqM92e9AtZVk_BkkjHNi2gMkXHpwmDnYv_uplLxA,5889
80
- classification/detect_and_crop.py,sha256=_vh1vsQMGmiqKrs31zmInw2LJB0VqERZDZO1k5BAZ-I,36970
81
- classification/evaluate_model.py,sha256=luKwrz6Qdj1MWuVJuHl0MVDpTnsCZ4ooS97cBBHuqro,19307
82
- classification/identify_mislabeled_candidates.py,sha256=zOWHmWeaiOpM9c0s1uHOKgxJSHyJJR-oAM4R6f1c7T0,5032
83
- classification/json_to_azcopy_list.py,sha256=fDofugJtfMI1cy7KsVbfUHuPnis4BTKkcjxP3qgOzkU,1647
84
- classification/json_validator.py,sha256=STjUCHacJiOT0AmgFiOJlUpyx2EltYQvOeI9SRl1q6M,26492
85
- classification/map_classification_categories.py,sha256=Z7QYRvg1fSMA2RvQS2SbURmEmhqJ4QC3CpjKr2oCx4o,10666
86
- classification/merge_classification_detection_output.py,sha256=SZr2bMAcXKsorkJz40F4XEQJgtMVQBZqgFr0TTGtPL8,20011
87
- classification/prepare_classification_script.py,sha256=zE8j3wi8YJBkEnuqkIb-SK8xoEnAu-XtlkSiO8-zpdQ,6510
88
- classification/prepare_classification_script_mc.py,sha256=zQV6Vlr0cQxPrFLNk33RlPKAFPA4VuhlHsz-FtAIWv4,7190
89
- classification/run_classifier.py,sha256=shZD8D-BrofH7wNS524XDI-CHegjVpLZ9cNno0f3ke8,9325
90
- classification/save_mislabeled.py,sha256=gNcMK7zVo-Q4XChiB-zVJMcwE6uDz6r4EgQA0KaE5sI,3408
91
- classification/train_classifier.py,sha256=QBZHnydFJNgdjWKOyuP5r_yNhAkBHtHRHs4TmCpl8oo,32300
92
- classification/train_classifier_tf.py,sha256=84jxAJAuKgGphdHIFsRmCSmaZKrPGuG_5H-pYtk-q0I,28067
93
- classification/train_utils.py,sha256=LIEhLpIQrFAyM658PJSw2MyGvvMZyCzsDdz22v47_oU,11332
94
- classification/efficientnet/__init__.py,sha256=e-jfknjzCc5a0CSW-TaZ2vi0SPU1OMIsayoz2s94QAo,182
95
- classification/efficientnet/model.py,sha256=qJHWV9-rYKa4E_TIee5N_OjRhqDdM-icPpoMap3Q5HM,17040
96
- classification/efficientnet/utils.py,sha256=TF5S2cn2lvlCO2dFhdFPdzjbBBs-SyZGZmEx_dsJMbo,24846
97
- data_management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
98
- data_management/camtrap_dp_to_coco.py,sha256=D6zGXQN84IM5PTWjWc0kFpFcwa47IfQruwiEcongKpc,8592
99
- data_management/cct_json_utils.py,sha256=dGf3zgFuJFunPDN0n-34Z0ogBwhZ_TeObdMGxRcQEBI,14783
100
- data_management/cct_to_md.py,sha256=37dYR6tac41fvEWLlmSNytv7og04TmVgGyZ1w1lql5k,5060
101
- data_management/cct_to_wi.py,sha256=hnFErIlBDmhZtBv21kDW14MSdHlUjwtCGn2vnG-cN34,9771
102
- data_management/coco_to_labelme.py,sha256=-ItUxFTMPTYoYymbDuEAnsUFQvWZueYst1BT2sg3cwI,8304
103
- data_management/coco_to_yolo.py,sha256=pywjKua5ua4BqyZ8PvmbbbNAi48eDYRzOxZznpdyx0c,28111
104
- data_management/generate_crops_from_cct.py,sha256=Esq2Vlvp1AQvD8bmtC15OvoTZTHASBfcIVIuisxXT08,4383
105
- data_management/get_image_sizes.py,sha256=uOI1wp5kmEGB7gLeDPkKodFALyE69DKPSo5N7ZH_8j4,6581
106
- data_management/labelme_to_coco.py,sha256=F-guvKoRBbsZlYNcRUZb1oiqzm0M58zKZq-QT8hg9oc,21179
107
- data_management/labelme_to_yolo.py,sha256=2qXFNSa-Lh7X3tqoL8Nu8XvVPG5ugPcUyDmCjCOV4eM,10024
108
- data_management/ocr_tools.py,sha256=CaZ1LoIUZ33sqiKPrRFQkvmV61qhkQWfr1WBEx8oGHo,32502
109
- data_management/read_exif.py,sha256=rFgaiAeCtmIDh6jTFXmVXeqPV3lIfTAohZQ5fjv7ZUU,22745
110
- data_management/remap_coco_categories.py,sha256=p0QTA_SzVjcNMAqDDR4grC_Y4CzhSFo1mQ9C9Sdj5_w,2902
111
- data_management/remove_exif.py,sha256=ybaZaO8pf0W1c_qE1krFh-MN4z40u5W0j5UhGxH8Uzw,1665
112
- data_management/resize_coco_dataset.py,sha256=ZvgIb6ODZeWaqig4FgxITTzD17NvyFbJ-JLaWbF7Sb4,6770
113
- data_management/wi_download_csv_to_coco.py,sha256=GqUKxRlgSt_r2k4QwpT5xTw-aN1huKGrzs_bK02yq8Q,8307
114
- data_management/yolo_output_to_md_output.py,sha256=2jofSf-qwBQ2qEl5pVn6NuYqnbiMl5Pgfj4vxGuIaVU,17261
115
- data_management/yolo_to_coco.py,sha256=BcUF5AFnKxw1xbeTSLDweZkTVxHqzpUPtZwPQhC6mPE,25080
116
- data_management/annotations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
117
- data_management/annotations/annotation_constants.py,sha256=1597MpAr_HdidIHoDFj4RgUO3K5e2Xm2bGafGeonR2k,953
118
- data_management/databases/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
119
- data_management/databases/add_width_and_height_to_db.py,sha256=X7A_iniGwlkhZ0jUNm564GT_mH2_RJGLD0aGP9cBhY0,749
120
- data_management/databases/combine_coco_camera_traps_files.py,sha256=oeELrMgxhsJ6aNBxPQyu4CmsdtYnzS5GKZEV8U-XUdk,6693
121
- data_management/databases/integrity_check_json_db.py,sha256=fK6Dta97zrE0A4f_DgMXs-hNa4zutfiMK0lkO3-mqwI,16285
122
- data_management/databases/subset_json_db.py,sha256=JK71qSUpUZe7cJquyt2xEzirDoZq1Lrr2X0cgtHKBpA,3219
123
- data_management/importers/add_nacti_sizes.py,sha256=jjGTpd36g5w7nLIeOatXRwu1Uti2GiGgP3-61QSg8oA,1156
124
- data_management/importers/add_timestamps_to_icct.py,sha256=5l1TkWq3X4Mxed7zlZ07U1RQcjbzBnwcoftNiaruigM,2364
125
- data_management/importers/animl_results_to_md_results.py,sha256=duvQkfFzONYHdTsJrhHyufpamK55r41IjkjFuPY7WmE,4698
126
- data_management/importers/auckland_doc_test_to_json.py,sha256=hk_2xk2s8anIuV9qXW22W5ATequhKn3KrZ1GheJDStI,12893
127
- data_management/importers/auckland_doc_to_json.py,sha256=5al9rv7ToqZPhxOpYV1u04o0BfR6Jt5R6_7X9DTwXk8,5936
128
- data_management/importers/awc_to_json.py,sha256=vQyOZ3pIn5wUm15z_Wztb4TL2ABnorWXNEh7XDMg_gM,5292
129
- data_management/importers/bellevue_to_json.py,sha256=sDLSs-tCcUuQqWdrqDQHMvnRFSlRtl7O-BX-yQChumU,7886
130
- data_management/importers/cacophony-thermal-importer.py,sha256=cFASISGm5micxF7yWPAu5-MueoUga5UXNSfNfQ0fxZE,28600
131
- data_management/importers/carrizo_shrubfree_2018.py,sha256=JG_LTniiJNVf2eswEXJYkfmFW9RjL-UTF25aVMqd_64,7811
132
- data_management/importers/carrizo_trail_cam_2017.py,sha256=BiJyim4nygtQBd7LUM9m9TJ-jydF8imhE1SnavTGXTc,8814
133
- data_management/importers/cct_field_adjustments.py,sha256=ZeNahKbtqFkkWuxq6ujuw8FD53IvGgp5Z9kX0lzAQqM,1334
134
- data_management/importers/channel_islands_to_cct.py,sha256=MKp2R07zpcQqkV5Jq1ZgyMeCsFfOr7gzY95HPNK4v5A,29465
135
- data_management/importers/ena24_to_json.py,sha256=9l9SYByrPv4UEewn-CxJYo95jcEVtxW1DVmCj-g10p4,8233
136
- data_management/importers/filenames_to_json.py,sha256=OlBdL2nV8HALSCGKBPOptl0lu4d-3fBGM5W1QvWbp2k,10510
137
- data_management/importers/helena_to_cct.py,sha256=KBWy1Qwji-eVWRbL5wtTbASVExwHMjUuVHD1HG0arLk,8686
138
- data_management/importers/idaho-camera-traps.py,sha256=pHxWxj_dJi4B680EbAyZFKweeM_h6mkOxG8iPsuEayA,54043
139
- data_management/importers/idfg_iwildcam_lila_prep.py,sha256=Anobf7sBYAqfdFu9aDxdMpRr9sXVIIsiB6qM0d2UAPs,8148
140
- data_management/importers/jb_csv_to_json.py,sha256=ZoOVAJy2StqT329E5W6pF0CecBo1yy2tYzsbrHPZQfQ,3713
141
- data_management/importers/mcgill_to_json.py,sha256=dfSxU1hHimyGT6Zt64XFrW63GWGsdKpqRrp5PE--xUw,6702
142
- data_management/importers/missouri_to_json.py,sha256=dw5G-6Y2czLMZ_aXoFtP44zj9YfCVeaDcV0o_0wiiog,14814
143
- data_management/importers/nacti_fieldname_adjustments.py,sha256=1oDCSuFXhc2b7JPIzkSb3DkusacdAjMM2GQZnhfFQCg,2027
144
- data_management/importers/noaa_seals_2019.py,sha256=7-oyLcBuYsVtGkuiRbMKb-czXmNZbZFQPRa9Yb97oEw,5132
145
- data_management/importers/pc_to_json.py,sha256=VF_1WjVQKMORGJR-qTbXurmZK_QoO82ABTqKIXzQp_o,10703
146
- data_management/importers/plot_wni_giraffes.py,sha256=KdEjbItDOXbXj0fr0celfMp7z31Rr3S29SLWBCMY-4M,3772
147
- data_management/importers/prepare-noaa-fish-data-for-lila.py,sha256=nCU2p35OCKlndC5TQRil15UxN0zm_yzsroHlMvx76Jk,12402
148
- data_management/importers/prepare_zsl_imerit.py,sha256=R6XI3McQRoy1KU6mSdV0kBZeieKF1jQNgigIOWzAirM,3739
149
- data_management/importers/rspb_to_json.py,sha256=ooB3ES7TOtPCXRWh4xCBZC18qhFpIuOU5u_RTHtPYPw,9818
150
- data_management/importers/save_the_elephants_survey_A.py,sha256=g63gXrb2ysfp7LY78-ZbOtly8TMPGNwreDL9erL0BeQ,10623
151
- data_management/importers/save_the_elephants_survey_B.py,sha256=FEs7_SFAdRjv-R5APb_2EOUL0rJg1qinwZV1Mea6tqc,11152
152
- data_management/importers/snapshot_safari_importer.py,sha256=4zfnzw8WXNY_g5qQRrkpdyjV-plTLxdMr5DOrRs4Gss,23557
153
- data_management/importers/snapshot_safari_importer_reprise.py,sha256=NjE_E8R2sqE-OSxS2RjR5Vf-hcDTnDB2DXWSOWMbvp0,22313
154
- data_management/importers/snapshot_serengeti_lila.py,sha256=iYX6_RicIfHk1jN894WlDXKn-BQqZfohKB6iyQL3lCs,33832
155
- data_management/importers/sulross_get_exif.py,sha256=Bt1tGYtr5CllxCe2BL8uI3SfPu3e1SSqijnOz--iRqQ,2071
156
- data_management/importers/timelapse_csv_set_to_json.py,sha256=RN8kTzrppxfE2LOra0xCyU2wE2sJnHOa8iX2LWbmFyo,15883
157
- data_management/importers/ubc_to_json.py,sha256=1J2du7r5ldZv7mIv90ffU0jOFw0t6R5fMoIw_pxnQBA,14848
158
- data_management/importers/umn_to_json.py,sha256=GLYL0cZpwcKmKqbH6gQ_3O_J9EBIw-mgI3F8Bxs83Lk,16162
159
- data_management/importers/wellington_to_json.py,sha256=sEUMACMd3caf8l4u595C7JFmPqEijN9HM6L8MVJEN7w,7655
160
- data_management/importers/wi_to_json.py,sha256=DCtdejdd5B17XFj_YtpWAQijBAb_P_Y7Ged0ViOw5jU,13639
161
- data_management/importers/zamba_results_to_md_results.py,sha256=L0E_zwPyN8Lvn1ukOw95TQ-APM7fBki_2_eKJhC3HkE,5381
162
- data_management/importers/eMammal/copy_and_unzip_emammal.py,sha256=CoP8rZOuLDIIL5jajB4WLnMhum19Ol-UT4W25FiF3zE,6085
163
- data_management/importers/eMammal/eMammal_helpers.py,sha256=Sv6PBAMDdlgwiek6Q3R6Rjio2RjtA-JpfgBr_Fmr9kA,6838
164
- data_management/importers/eMammal/make_eMammal_json.py,sha256=6C_-6Qk-Xhz_87DEPHA-txw90AvXrybJy1PbQXQbqwo,6987
165
- data_management/importers/snapshotserengeti/make_full_SS_json.py,sha256=khE3W0pO3Uq-UCfrLW_rpzWqjLll2JoBc360XeAuUGc,4126
166
- data_management/importers/snapshotserengeti/make_per_season_SS_json.py,sha256=sAwvcR2siwblgY3LfTsbH4mXOXvJZCA246QIsQWuQBA,4316
167
- data_management/lila/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
168
- data_management/lila/add_locations_to_island_camera_traps.py,sha256=-UDgwOshVMPkfw90vukVVaAaV6yUNnjzUBts3N9t6bw,2540
169
- data_management/lila/add_locations_to_nacti.py,sha256=S4ty7lARf2O13_GWTX1pFYyixPCNecqUj6jpO3hOV2w,4849
170
- data_management/lila/create_lila_blank_set.py,sha256=X-trivZL_yN-Ka9MJMhXXUQ_CHBAcOiNMGdKetHMY0Y,19736
171
- data_management/lila/create_lila_test_set.py,sha256=lzswPzKg71H3yl76KBBDcpm5Tx796He-gl-gynlGxWs,4806
172
- data_management/lila/create_links_to_md_results_files.py,sha256=awhnu1n4zmn6sPbikxCtMEncWMSnoHbG5_gF4_UZvvI,3793
173
- data_management/lila/download_lila_subset.py,sha256=VJ65yVH6ejBW_99UxTy3BQ0ES4KKXIB17u8HIeRslb0,5293
174
- data_management/lila/generate_lila_per_image_labels.py,sha256=ZaudY_c561A6FZ6BEKeSC2xehnV_wdfxqG-b8bzKpzA,18016
175
- data_management/lila/get_lila_annotation_counts.py,sha256=ZnMRkbY95Dh59sd0rUWUKedmnLH1mWAYib61YMEavIM,5588
176
- data_management/lila/get_lila_image_counts.py,sha256=m8zEOPA2aogq1oQAv8hsjsf_vvgyq2PKSHwkbQg2Pvs,3601
177
- data_management/lila/lila_common.py,sha256=yLi82UJOD_JCH09QyW-lAmZHLY6WsHJf6KRP0WyHyJM,10091
178
- data_management/lila/test_lila_metadata_urls.py,sha256=sv_G5Zym66nit4bN6L0-6m9jGniBNJDWcFfkmLHRnq0,4415
179
- detection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
180
- detection/process_video.py,sha256=Ufytlok5CrUz7R3XFyVNsWUmbxuChd3nRwMMiLrNsA4,29829
181
- detection/pytorch_detector.py,sha256=0bBaxv1LFNwgyr1H8bOO9F5A6M6FncT9y5erclFfC4c,12537
182
- detection/run_detector.py,sha256=XgBbx4acIv433LJinY7EypPs8r5fKKB47pplapNhAd4,29687
183
- detection/run_detector_batch.py,sha256=RF2hZzB6XyGWksiE3ySEUcEfrhH2DI9Hx97LShRPatI,52059
184
- detection/run_inference_with_yolov5_val.py,sha256=AGeZb6Arez9wjDEMwYZCxmoJrO1yd_dHvBFoPOalGTg,36888
185
- detection/run_tiled_inference.py,sha256=ldD4_m_2OH6ztQDBKFfgVkJVZb_hhVd1X4Lix_Yzn8U,37834
186
- detection/tf_detector.py,sha256=9O8anTr4jVD9JG8Zu-Y62Mx6mzjmSD-qy9avw0bYC4Y,7533
187
- detection/video_utils.py,sha256=oSWCUQW5NiienmaMM3PLULVmMyepJQ4uQh0xJQsiEy8,22753
188
- detection/detector_training/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
189
- detection/detector_training/model_main_tf2.py,sha256=YwNsZ7hkIFaEuwKU0rHG_VyqiR_0E01BbdlD0Yx4Smo,4936
190
- docs/source/conf.py,sha256=Lm1wiIKbbj0Ni_H8gw1SlaWF85vq01MqMHyFTYexqks,1158
191
- md_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
192
- md_utils/azure_utils.py,sha256=mC8wjw6gt3euCItcdCp_M4zUK97Up8WZIoLI51ALMoc,6223
193
- md_utils/ct_utils.py,sha256=mppmjTtRNGgnp0IBoXUPy5uNAanxpgPteVW5ACUi3vg,17847
194
- md_utils/directory_listing.py,sha256=sh5f6xkt_ERLBLZJ7NkEI37xSdPV65wOFH5vxlX6HfI,9658
195
- md_utils/md_tests.py,sha256=1rO_INtnOs5i-Jgq_pLXwNc4pBb4jUJZb3f9_0IsxEo,35870
196
- md_utils/path_utils.py,sha256=kVkz70tZM2RpNpuquqFCydL6ca5n3Grwh0Un2lHpXCA,35948
197
- md_utils/process_utils.py,sha256=uNzbijLk4lRqj2uU9zlUN8VuDeM4J7aLR2eb2O2-9ys,5226
198
- md_utils/sas_blob_utils.py,sha256=k76EcMmJc_otrEHcfV2fxAC6fNhxU88FxM3ddSYrsKU,16917
199
- md_utils/split_locations_into_train_val.py,sha256=4p9W6OvOB9q_KQqo01yLey8O3ZCvUxDqWCLUPLrmn-I,10091
200
- md_utils/string_utils.py,sha256=ZQapJodzvTDyQhjZgMoMl3-9bqnKAUlORpws8Db9AkA,2050
201
- md_utils/url_utils.py,sha256=uJRsSMxA1zMd997dX3V3wqFnKMTcSiOaE_atXUTRRVI,11476
202
- md_utils/write_html_image_list.py,sha256=qfNy9NZlQsIZsXOPONueAoCWg7owuayi21lPoG4EJ3A,8628
203
- md_visualization/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
204
- md_visualization/plot_utils.py,sha256=lOfU3uPrcuHZagV_1SN8erT8PujIepocgw6KZ17Ej6c,10671
205
- md_visualization/render_images_with_thumbnails.py,sha256=ci7EDeX_s5BEJG9tqg91-vdK1n_jMr5Eqws0WEO6HGY,10559
206
- md_visualization/visualization_utils.py,sha256=1YXDKbnFw5LZSyGulneThIyxHMnOgbG2lR8E4ExfXNY,62096
207
- md_visualization/visualize_db.py,sha256=jh1-SD3f5lS2VmSeCUltEnZ7JTu1iJ0y7KJlk_2Bp6s,20761
208
- md_visualization/visualize_detector_output.py,sha256=D9IpUJAqm0BbMXxltBsT1Qk-ztPttqls-N2V3W44MUk,17043
209
- taxonomy_mapping/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
210
- taxonomy_mapping/map_lila_taxonomy_to_wi_taxonomy.py,sha256=l-LPwGgc1x63GZFHO1a-r8iyixp_ypXfGsMXsrJdjag,17914
211
- taxonomy_mapping/map_new_lila_datasets.py,sha256=y1DCHCax0Q52EBbaMHPIO-_VoHjqfBoQYaSQYuNHC6M,4151
212
- taxonomy_mapping/prepare_lila_taxonomy_release.py,sha256=N9TUgg3_2u4hc5OBRydvEpweC3RIJ9ry5bXoi1BXLAY,4676
213
- taxonomy_mapping/preview_lila_taxonomy.py,sha256=PMZZyqCDMl9gDkQ-o2dTASDE0NjRgk4pIMK3k9hbEu4,19532
214
- taxonomy_mapping/retrieve_sample_image.py,sha256=skSCcSq5Rbq_y9tnM1kn5pBhQpA9zLDtrWe9lValA0I,1966
215
- taxonomy_mapping/simple_image_download.py,sha256=JNmlDELXy_LE2sXB5iSSgAhTD-oDkUHeoBxEda1Inaw,6851
216
- taxonomy_mapping/species_lookup.py,sha256=EhthWvgof9UoJ6D6IF67KqZJM6QoES7x5IgDd63jyl8,28281
217
- taxonomy_mapping/taxonomy_csv_checker.py,sha256=NqXDeIaKzqH3N_QSdq_iqY8rpms2rhWQ3xSRg3FjpjY,4837
218
- taxonomy_mapping/taxonomy_graph.py,sha256=ayrTFseVaIMbtMXhnjWCkZdxI5SAVe_BUtnanGewQpU,12263
219
- taxonomy_mapping/validate_lila_category_mappings.py,sha256=x9khTzRpGWRHSXd9xKUvP4J_DhKb4PyJNpIYkPIyR98,2514
220
- megadetector-5.0.10.dist-info/LICENSE,sha256=RMa3qq-7Cyk7DdtqRj_bP1oInGFgjyHn9-PZ3PcrqIs,1100
221
- megadetector-5.0.10.dist-info/METADATA,sha256=Xj_sAOcs52DO3Rm_WwmI4enmy0PILlcExkwwL7ps-k0,7701
222
- megadetector-5.0.10.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
223
- megadetector-5.0.10.dist-info/top_level.txt,sha256=8BMNtrwjqnFskOZ5xcDxwjhFBpi264HqnGtzY7Tcaqg,93
224
- megadetector-5.0.10.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- api
2
- classification
3
- data_management
4
- detection
5
- docs
6
- md_utils
7
- md_visualization
8
- taxonomy_mapping
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes