deep-utils 1.5.4__tar.gz → 1.5.6__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.
- {deep_utils-1.5.4 → deep_utils-1.5.6}/PKG-INFO +2 -2
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/__init__.py +3 -1
- deep_utils-1.5.6/deep_utils/medical/dicom2nifti_utils/dicom2nifti_utils.py +22 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/medical/sitk_utils/sitk_utils.py +5 -4
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/dir_utils/dir_utils.py +60 -34
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/ff_utils/ffprobe_utils.py +38 -3
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/json_utils/json_utils.py +1 -1
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/youtube_download/download_youtube.py +3 -2
- {deep_utils-1.5.4/deep_utils/vision/object_detection/yolo/v5/torch/models → deep_utils-1.5.6/deep_utils/vision/image_editing/glide}/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/segment → deep_utils-1.5.6/deep_utils/vision/object_detection/yolo/v5/torch/models}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils.egg-info/PKG-INFO +2 -2
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils.egg-info/SOURCES.txt +2 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/setup.py +1 -1
- deep_utils-1.5.6/tests/vision/vision_utils/torch_vision_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/LICENSE +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/asr/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/asr/wav2vec2/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/asr/wav2vec2/torch/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/asr/wav2vec2/torch/main.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/audio_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/audio_utils/librosa_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/audio_utils/soundfile_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/audio_utils/torchaudio_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/audio_utils/vox_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/classification/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/classification/wav2vec2/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/classification/wav2vec2/torch/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/classification/wav2vec2/torch/audio_classification_wav2vec2.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/diarization/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/diarization/pyannote/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/diarization/pyannote/pyannote_audio_diarization.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/vad/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/vad/pyannote/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/vad/pyannote/pyannote_audio_vad.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/augmentation/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/augmentation/cutmix/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/augmentation/cutmix/cutmix_tf.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/augmentation/cutmix/cutmix_torch.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/augmentation/torch/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/augmentation/torch/augmentation_torch.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/blocks/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/blocks/tf/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/blocks/tf/blocks_tf.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/blocks/torch/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/blocks/torch/blocks_torch.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/callbacks/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/callbacks/tf_keras/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/callbacks/tf_keras/lr.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/callbacks/torch/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/callbacks/torch/torch_csv_logger.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/callbacks/torch/torch_model_checkpoint.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/callbacks/torch/torch_tensorboard.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/design_patterns/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/design_patterns/chain_of_responsibility/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/design_patterns/chain_of_responsibility/chain_of_responsibilities_handlers.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/dummy_objects/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/dummy_objects/dummies.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/dummy_objects/dummy_framework.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/elasticsearch/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/elasticsearch/search_engine/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/elasticsearch/search_engine/abs_elasticsearch_search_engine.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/elasticsearch/search_engine/async_elasticsearch_search_engine.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/elasticsearch/search_engine/elasticsearch_search_engine.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/gis/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/gis/projection/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/gis/projection/main.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/llm/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/llm/utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/main_abs/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/main_abs/cv2/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/main_abs/cv2/cv2_caffe.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/main_abs/cv2/cv2_config.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/main_abs/cv2/cv2_main.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/main_abs/main.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/main_abs/main_config.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/medical/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/medical/metrics → deep_utils-1.5.6/deep_utils/medical/dicom2nifti_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/medical/main_utils.py +0 -0
- {deep_utils-1.5.4/deep_utils/medical/nib_utils → deep_utils-1.5.6/deep_utils/medical/metrics}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/medical/metrics/metrics.py +0 -0
- {deep_utils-1.5.4/deep_utils/medical/nnunet_utils → deep_utils-1.5.6/deep_utils/medical/nib_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/medical/nib_utils/nib_utils.py +0 -0
- {deep_utils-1.5.4/deep_utils/medical/sitk_utils → deep_utils-1.5.6/deep_utils/medical/nnunet_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/medical/nnunet_utils/nnunet_utils.py +0 -0
- {deep_utils-1.5.4/deep_utils/multi_modals → deep_utils-1.5.6/deep_utils/medical/sitk_utils}/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/multi_modals/_models → deep_utils-1.5.6/deep_utils/multi_modals}/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/multi_modals/_models/blip → deep_utils-1.5.6/deep_utils/multi_modals/_models}/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/multi_modals/_models/blip/torch → deep_utils-1.5.6/deep_utils/multi_modals/_models/blip}/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/multi_modals/_models/blip/torch/models → deep_utils-1.5.6/deep_utils/multi_modals/_models/blip/torch}/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/preprocessing → deep_utils-1.5.6/deep_utils/multi_modals/_models/blip/torch/models}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/multi_modals/_models/blip/torch/models/blip.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/multi_modals/_models/blip/torch/models/med.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/multi_modals/_models/blip/torch/models/med_configs.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/multi_modals/_models/blip/torch/models/vit.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/nlp/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/nlp/ner/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/nlp/ner/augmentation.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/nlp/ner/base_operations.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/nlp/ner/preprocessing.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/nlp/ner/taggers.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/nlp/ner/utils_.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/nlp/utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/nlp/utils/multi_lang_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/nlp/utils/multi_lang_utils/multi_lang_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/nlp/utils/persian/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/nlp/utils/persian/utils.py +0 -0
- {deep_utils-1.5.4/deep_utils/preprocessing/monai → deep_utils-1.5.6/deep_utils/preprocessing}/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils → deep_utils-1.5.6/deep_utils/preprocessing/monai}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/preprocessing/monai/monai_segmentation.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils/boto3_utils → deep_utils-1.5.6/deep_utils/utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/algorithm_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/algorithm_utils/main.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils/dataclass_parser → deep_utils-1.5.6/deep_utils/utils/boto3_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/boto3_utils/boto3_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/box_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/box_utils/box_dataclasses.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/box_utils/boxes.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/coco_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/coco_utils/main.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/color_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/color_utils/color_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/compress_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/compress_utils/zip_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/constants.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/ctc_decoder/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/ctc_decoder/ctc_decoder.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils/datetime_utils → deep_utils-1.5.6/deep_utils/utils/dataclass_parser}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/dataclass_parser/dataclass_argparser.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/dataclass_parser/example.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils/decord_utils → deep_utils-1.5.6/deep_utils/utils/datetime_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/datetime_utils/datetime_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/decorators/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/decorators/main.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils/fa_nlp_utils → deep_utils-1.5.6/deep_utils/utils/decord_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/decord_utils/decord_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/dict_named_tuple_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/dict_named_tuple_utils/dictnamedtuple_37.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/dict_named_tuple_utils/dictnamedtuple_38.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/dict_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/dict_utils/dict_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/dir_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/download_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/download_utils/async_download_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/download_utils/download_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/encodes/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/encodes/b64.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/encodes/web_inputs.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils/ff_utils → deep_utils-1.5.6/deep_utils/utils/fa_nlp_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/fa_nlp_utils/fa_nlp_utils.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils/memory_utils → deep_utils-1.5.6/deep_utils/utils/ff_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/gif_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/gif_utils/gif_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/hash_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/hash_utils/hash_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/image_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/image_utils/image_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/json_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/kafka_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/kafka_utils/kafka_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/lib_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/lib_utils/download_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/lib_utils/integeration_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/lib_utils/lib_decorators.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/lib_utils/main_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/list_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/list_utils/list_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/logging_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/logging_utils/logging_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/lr_scheduler_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/lr_scheduler_utils/warmup.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/matplotlib_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/matplotlib_utils/bar_plots.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/matplotlib_utils/main.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils/numpy_utils → deep_utils-1.5.6/deep_utils/utils/memory_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/memory_utils/torch_memory_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/minio_lib/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/minio_lib/main.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/multi_label_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/multi_label_utils/stratify/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/multi_label_utils/stratify/stratify_train_test_split.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/np_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/np_utils/main_np.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils/pickle_utils → deep_utils-1.5.6/deep_utils/utils/numpy_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/numpy_utils/numpy_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/object_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/object_utils/object_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/opencv_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/opencv_utils/opencv_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/optimizers/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/optimizers/tf.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/os_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/os_utils/os_path.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils/prompt_utils → deep_utils-1.5.6/deep_utils/utils/pickle_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/pickle_utils/pickle_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/postgresql_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/postgresql_utils/postgresql_utils.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils/py_utils → deep_utils-1.5.6/deep_utils/utils/prompt_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/prompt_utils/prompt_utils.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils/qdrant_utils → deep_utils-1.5.6/deep_utils/utils/py_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/py_utils/py_utils.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils/str_utils → deep_utils-1.5.6/deep_utils/utils/qdrant_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/qdrant_utils/qdrant_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/random_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/random_utils/random_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/re_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/re_utils/re_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/requests_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/requests_utils/requests_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/resize_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/resize_utils/main_resize.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/shutil_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/shutil_utils/shutil_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/sqlalchemy/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/sqlalchemy/checks.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/sqlalchemy/insert.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/sqlalchemy/sqlalchemy_utils.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils/tiktoken_utils → deep_utils-1.5.6/deep_utils/utils/str_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/str_utils/str_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/tensorboard_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/tensorboard_utils/tesnsorboard_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/tf_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/tf_utils/logging.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/tf_utils/main.py +0 -0
- {deep_utils-1.5.4/deep_utils/utils/youtube_download → deep_utils-1.5.6/deep_utils/utils/tiktoken_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/tiktoken_utils/tiktoken_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/torch_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/torch_utils/torch_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/utils/arg_parser.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/utils/hyper_parameters.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/utils/shuffle_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/utils/yaml_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/variable_naming_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/utils/variable_naming_utils/variable_naming_utils.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/color_recognition → deep_utils-1.5.6/deep_utils/utils/youtube_download}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/color_recognition/cnn_color → deep_utils-1.5.6/deep_utils/vision/color_recognition}/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/color_recognition/cnn_color/torch → deep_utils-1.5.6/deep_utils/vision/color_recognition/cnn_color}/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/face_detection/mtcnn/tf/src → deep_utils-1.5.6/deep_utils/vision/color_recognition/cnn_color/torch}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/color_recognition/cnn_color/torch/color_cnn_torch.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/color_recognition/cnn_color/torch/color_cnn_torch_pred.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/haarcascade/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/haarcascade/cv2_/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/haarcascade/cv2_/config.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/haarcascade/cv2_/haarcascade_cv2_face_detection.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/main/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/main/main_face_detection.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/mtcnn/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/mtcnn/tf/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/mtcnn/tf/config.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/mtcnn/tf/mtcnn_tf_face_detection.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/face_detection/mtcnn/torch → deep_utils-1.5.6/deep_utils/vision/face_detection/mtcnn/tf}/src/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/mtcnn/tf/src/box_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/mtcnn/tf/src/first_stage.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/mtcnn/tf/src/get_nets.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/mtcnn/torch/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/mtcnn/torch/config.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/mtcnn/torch/mtcnn_torch_face_detection.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/face_detection/retinaface → deep_utils-1.5.6/deep_utils/vision/face_detection/mtcnn}/torch/src/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/mtcnn/torch/src/box_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/mtcnn/torch/src/first_stage.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/mtcnn/torch/src/get_nets.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/retinaface/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/retinaface/torch/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/retinaface/torch/config.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/retinaface/torch/retinaface_torch_face_detection.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/face_detection/retinaface/torch/src/layers/functions → deep_utils-1.5.6/deep_utils/vision/face_detection/retinaface/torch/src}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/retinaface/torch/src/layers/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/face_detection/retinaface/torch/src/utils → deep_utils-1.5.6/deep_utils/vision/face_detection/retinaface/torch/src/layers/functions}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/retinaface/torch/src/layers/functions/prior_box.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/retinaface/torch/src/layers/modules/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/retinaface/torch/src/layers/modules/multibox_loss.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/retinaface/torch/src/load_model.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/retinaface/torch/src/net.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/retinaface/torch/src/retinaface.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/face_detection/retinaface/torch/src/utils/nms → deep_utils-1.5.6/deep_utils/vision/face_detection/retinaface/torch/src/utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/retinaface/torch/src/utils/box_utils.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/face_detection/ultralight/tf/utils → deep_utils-1.5.6/deep_utils/vision/face_detection/retinaface/torch/src/utils/nms}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/retinaface/torch/src/utils/nms/py_cpu_nms.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/retinaface/torch/src/utils/timer.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ssd/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ssd/cv2/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ssd/cv2/caffe/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ssd/cv2/caffe/config.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ssd/cv2/caffe/ssd_cv2_caffe_face_detection.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/tf/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/tf/config.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/tf/ultralight_tf_face_detection.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/face_detection/ultralight/torch → deep_utils-1.5.6/deep_utils/vision/face_detection/ultralight/tf}/utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/tf/utils/op.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/tf/utils/rfb_320.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/tf/utils/slim_320.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/tf/utils/utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/torch/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/torch/config.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/torch/ultralight_torch_face_detection.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/image_caption → deep_utils-1.5.6/deep_utils/vision/face_detection/ultralight/torch/utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/torch/utils/box_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/torch/utils/data_preprocessing.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/torch/utils/fd_config.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/torch/utils/mb_tiny.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/torch/utils/mb_tiny_RFB.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/torch/utils/mb_tiny_RFB_fd.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/torch/utils/mb_tiny_fd.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/torch/utils/misc.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/torch/utils/predictor.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/torch/utils/ssd.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_detection/ultralight/torch/utils/transforms.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_recognition/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_recognition/main/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_recognition/main/main_face_recognition.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_recognition/vggface2/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_recognition/vggface2/torch/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_recognition/vggface2/torch/config.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_recognition/vggface2/torch/src/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_recognition/vggface2/torch/src/inception_resnet_v1.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_recognition/vggface2/torch/src/senet_model.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/face_recognition/vggface2/torch/vggface2_torch.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/image_caption/blip → deep_utils-1.5.6/deep_utils/vision/image_caption}/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/image_caption/blip/torch → deep_utils-1.5.6/deep_utils/vision/image_caption/blip}/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/image_editing → deep_utils-1.5.6/deep_utils/vision/image_caption/blip/torch}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/image_caption/blip/torch/blip_torch_image_caption.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/image_caption/image_caption.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/image_editing/glide → deep_utils-1.5.6/deep_utils/vision/image_editing}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/image_editing/glide/glide_image_editing.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/main/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/main/main_object_detection.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/config.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/models/common.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/models/experimental.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/models/tf.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/models/yolo.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolo_v5_torch_object_detection.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/activations.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/augmentations.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/autoanchor.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/autobatch.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/callbacks.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/dataloaders.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/datasets.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/downloads.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/general.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/google_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/loss.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/metrics.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/plots.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/object_tracker/deep_sort/torch → deep_utils-1.5.6/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/segment}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/segment/augmentations.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/segment/dataloaders.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/segment/general.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/segment/loss.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/segment/metrics.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/segment/plots.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/torch_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/triton.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/config.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/models/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/models/common.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/models/experimental.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/models/yolo.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/yolo_v7_torch_object_detection.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/activations.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/add_nms.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/autoanchor.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/datasets.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/general.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/google_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/loss.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/metrics.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/plots.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/torch_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_detection/yolo/yolo_detector.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/object_tracker/deep_sort/torch/deep → deep_utils-1.5.6/deep_utils/vision/object_tracker/deep_sort/torch}/__init__.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/object_tracker/deep_sort/torch/sort → deep_utils-1.5.6/deep_utils/vision/object_tracker/deep_sort/torch/deep}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/deep_sort.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/object_tracker/deep_sort/torch/utils → deep_utils-1.5.6/deep_utils/vision/object_tracker/deep_sort/torch/sort}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/sort/detection.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/sort/iou_matching.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/sort/kalman_filter.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/sort/linear_assignment.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/sort/nn_matching.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/sort/preprocessing.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/sort/track.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/sort/tracker.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/text2box_visual_grounding → deep_utils-1.5.6/deep_utils/vision/object_tracker/deep_sort/torch/utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/utils/asserts.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/utils/draw.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/utils/evaluation.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/utils/io.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/utils/json_logger.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/utils/log.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/utils/parser.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/object_tracker/deep_sort/torch/utils/tools.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/ocr/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/ocr/crnn/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/ocr/crnn/torch/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/ocr/crnn/torch/crnn_inference.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/ocr/crnn/torch/crnn_model.py +0 -0
- {deep_utils-1.5.4/deep_utils/vision/text2box_visual_grounding/dino → deep_utils-1.5.6/deep_utils/vision/text2box_visual_grounding}/__init__.py +0 -0
- {deep_utils-1.5.4/tests/utils/encoding_utils → deep_utils-1.5.6/deep_utils/vision/text2box_visual_grounding/dino}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/text2box_visual_grounding/dino/visual_grounding_dino_torch.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/torch_vision/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/torch_vision/torch_vision_inference/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/torch_vision/torch_vision_inference/torch_vision_inference.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/torch_vision/torch_vision_models/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/torch_vision/torch_vision_models/torch_vision_models.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/vision_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/vision_utils/torch_vision_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/vision/vision_utils/torch_vision_utils/torch_vision_utils.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils.egg-info/dependency_links.txt +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils.egg-info/requires.txt +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils.egg-info/top_level.txt +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/setup.cfg +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/tests/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/tests/utils/__init__.py +0 -0
- {deep_utils-1.5.4/tests/utils/utils → deep_utils-1.5.6/tests/utils/encoding_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/tests/utils/encoding_utils/encoding_utils_test.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/tests/utils/np_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/tests/utils/np_utils/np_utils_test.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/tests/utils/resize_utils/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/tests/utils/resize_utils/resize_utils_test.py +0 -0
- {deep_utils-1.5.4/tests/vision → deep_utils-1.5.6/tests/utils/utils}/__init__.py +0 -0
- {deep_utils-1.5.4/tests/vision/face_detection → deep_utils-1.5.6/tests/vision}/__init__.py +0 -0
- {deep_utils-1.5.4/tests/vision/face_detection/mtcnn → deep_utils-1.5.6/tests/vision/face_detection}/__init__.py +0 -0
- {deep_utils-1.5.4/tests/vision/face_detection/mtcnn/torch → deep_utils-1.5.6/tests/vision/face_detection/mtcnn}/__init__.py +0 -0
- {deep_utils-1.5.4/tests/vision/face_detection/ultralight → deep_utils-1.5.6/tests/vision/face_detection/mtcnn/torch}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/tests/vision/face_detection/mtcnn/torch/mtcnn_torch_test.py +0 -0
- {deep_utils-1.5.4/tests/vision/face_detection/ultralight/torch → deep_utils-1.5.6/tests/vision/face_detection/ultralight}/__init__.py +0 -0
- {deep_utils-1.5.4/tests/vision/object_detection → deep_utils-1.5.6/tests/vision/face_detection/ultralight/torch}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/tests/vision/face_detection/ultralight/torch/ultralight_torch_test.py +0 -0
- {deep_utils-1.5.4/tests/vision/object_detection/yolo → deep_utils-1.5.6/tests/vision/object_detection}/__init__.py +0 -0
- {deep_utils-1.5.4/tests/vision/object_detection/yolo/v5 → deep_utils-1.5.6/tests/vision/object_detection/yolo}/__init__.py +0 -0
- {deep_utils-1.5.4/tests/vision/object_detection/yolo/v5/torch → deep_utils-1.5.6/tests/vision/object_detection/yolo/v5}/__init__.py +0 -0
- {deep_utils-1.5.4/tests/vision/vision_utils → deep_utils-1.5.6/tests/vision/object_detection/yolo/v5/torch}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/tests/vision/object_detection/yolo/v5/torch/yolov5_detection_test.py +0 -0
- {deep_utils-1.5.4/tests/vision/vision_utils/torch_vision_utils → deep_utils-1.5.6/tests/vision/vision_utils}/__init__.py +0 -0
- {deep_utils-1.5.4 → deep_utils-1.5.6}/tests/vision/vision_utils/torch_vision_utils/torch_vision_utils_test.py +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: deep_utils
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.6
|
|
4
4
|
Summary: Deep Utils
|
|
5
5
|
Home-page: https://github.com/pooya-mohammadi/deep_utils
|
|
6
6
|
Author: Pooya Mohammadi Kazaj
|
|
7
7
|
Author-email: pooyamohammadikazaj@gmial.com
|
|
8
8
|
License: UNKNOWN
|
|
9
|
-
Download-URL: https://github.com/pooya-mohammadi/deep_utils/archive/refs/tags/1.5.
|
|
9
|
+
Download-URL: https://github.com/pooya-mohammadi/deep_utils/archive/refs/tags/1.5.6.tar.gz
|
|
10
10
|
Description: [](https://pepy.tech/project/deep_utils) [](https://pypi.python.org/pypi/deep_utils)
|
|
11
11
|
|
|
12
12
|
<div id="top"></div>
|
|
@@ -4,7 +4,7 @@ from deep_utils.dummy_objects.dummy_framework import LazyModule
|
|
|
4
4
|
from .utils.lib_utils.integeration_utils import import_lazy_module
|
|
5
5
|
|
|
6
6
|
# Deep Utils version number
|
|
7
|
-
__version__ = "1.5.
|
|
7
|
+
__version__ = "1.5.6"
|
|
8
8
|
|
|
9
9
|
from .utils.constants import DUMMY_PATH, Backends
|
|
10
10
|
|
|
@@ -42,6 +42,7 @@ _import_structure = {
|
|
|
42
42
|
"utils.ff_utils.ffprobe_utils": ["FFProbeUtils"],
|
|
43
43
|
"utils.datetime_utils.datetime_utils": ["DateTimeUtils"],
|
|
44
44
|
"utils.youtube_download.download_youtube": ["DownloadYoutube"],
|
|
45
|
+
"medical.dicom2nifti_utils.dicom2nifti_utils":["Dicom2Nifti"],
|
|
45
46
|
DUMMY_PATH: [], # this is required for dummy check!
|
|
46
47
|
}
|
|
47
48
|
|
|
@@ -160,6 +161,7 @@ if TYPE_CHECKING:
|
|
|
160
161
|
from .utils.ff_utils.ffprobe_utils import FFProbeUtils
|
|
161
162
|
from .utils.datetime_utils.datetime_utils import DateTimeUtils
|
|
162
163
|
from .utils.youtube_download.download_youtube import DownloadYoutube
|
|
164
|
+
from .medical.dicom2nifti_utils.dicom2nifti_utils import Dicom2Nifti
|
|
163
165
|
else:
|
|
164
166
|
import sys
|
|
165
167
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import os
|
|
2
|
+
from deep_utils.utils.str_utils.str_utils import StringUtils
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Dicom2Nifti:
|
|
6
|
+
|
|
7
|
+
@staticmethod
|
|
8
|
+
def make_command(nifti_dir, dicom_dir):
|
|
9
|
+
command = f'dcm2niix -d 0 -z y -b y -ba n -f %f_%t_%p_%s_%d_%i_%e_%q_%z_%m_%a_%g -o "{nifti_dir}" "{dicom_dir}"'
|
|
10
|
+
return command
|
|
11
|
+
|
|
12
|
+
@staticmethod
|
|
13
|
+
def dicom2nifti(nifti_path, dicom_path, verbose: bool=True):
|
|
14
|
+
command = Dicom2Nifti.make_command(nifti_path, dicom_path)
|
|
15
|
+
os.makedirs(nifti_path, exist_ok=True)
|
|
16
|
+
output = os.system(command)
|
|
17
|
+
if output != 0:
|
|
18
|
+
StringUtils.print(f"[ERROR] Something wrong in converting: command: {command}", color="red")
|
|
19
|
+
else:
|
|
20
|
+
if verbose:
|
|
21
|
+
StringUtils.print(f"[INFO] Successfully generated nifti {nifti_path} from dicom {dicom_path}", color="green")
|
|
22
|
+
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import math
|
|
2
|
+
from collections import defaultdict
|
|
2
3
|
from typing import Tuple, Union, Dict, List, Optional
|
|
3
4
|
|
|
4
5
|
import SimpleITK as sitk # noqa1537
|
|
@@ -10,7 +11,7 @@ from deep_utils.medical.main_utils import MainMedUtils
|
|
|
10
11
|
class SITKUtils(MainMedUtils):
|
|
11
12
|
@staticmethod
|
|
12
13
|
def get_components(input_img: Image, input_array: np.ndarray = None, get_array: bool = False,
|
|
13
|
-
labels: int | tuple[int] = None) -> Image | np.ndarray:
|
|
14
|
+
labels: int | tuple[int] = None) -> Dict[int, Image] | Dict[int, np.ndarray]:
|
|
14
15
|
if input_array is not None:
|
|
15
16
|
arr_img = sitk.GetImageFromArray(input_array)
|
|
16
17
|
arr_img.CopyInformation(input_img)
|
|
@@ -22,17 +23,17 @@ class SITKUtils(MainMedUtils):
|
|
|
22
23
|
unique_labels = sitk.GetArrayViewFromImage(input_img).astype(int)
|
|
23
24
|
unique_labels = set(unique_labels.flatten()) - {0} # Exclude background (label 0)
|
|
24
25
|
|
|
25
|
-
components =
|
|
26
|
+
components = dict()
|
|
26
27
|
for label in unique_labels:
|
|
27
28
|
# Extract binary mask for current label
|
|
28
29
|
binary_mask = sitk.BinaryThreshold(input_img, lowerThreshold=int(label), upperThreshold=int(label))
|
|
29
30
|
|
|
30
31
|
# Compute connected components
|
|
31
32
|
cc = sitk.ConnectedComponent(binary_mask)
|
|
32
|
-
components
|
|
33
|
+
components[int(label)] = cc
|
|
33
34
|
|
|
34
35
|
if get_array:
|
|
35
|
-
arr =
|
|
36
|
+
arr = {l: sitk.GetArrayFromImage(output) for l, output in components.items()}
|
|
36
37
|
return arr
|
|
37
38
|
else:
|
|
38
39
|
return components
|
|
@@ -9,6 +9,7 @@ from deep_utils.utils.os_utils.os_path import split_extension
|
|
|
9
9
|
from deep_utils.utils.shutil_utils.shutil_utils import mv_or_copy
|
|
10
10
|
from deep_utils.utils.str_utils.str_utils import StringUtils
|
|
11
11
|
|
|
12
|
+
|
|
12
13
|
def transfer_directory_items(
|
|
13
14
|
in_dir,
|
|
14
15
|
out_dir,
|
|
@@ -466,11 +467,11 @@ class DirUtils:
|
|
|
466
467
|
import re
|
|
467
468
|
return re.sub(r'[\\/*?:"<>|]', "", filename).replace(' ', '_')
|
|
468
469
|
|
|
469
|
-
|
|
470
470
|
@staticmethod
|
|
471
|
-
def symbolic_link_move(org_data_list:list[str], des: Union[str, list[str]], remove: bool = False,
|
|
472
|
-
|
|
473
|
-
|
|
471
|
+
def symbolic_link_move(org_data_list: list[str], des: Union[str, list[str]], remove: bool = False,
|
|
472
|
+
suffix: str = None,
|
|
473
|
+
replace: str | tuple[str, ...] = None, replace_with: str | tuple[str, ...] = None,
|
|
474
|
+
current_extension=".nii.gz"):
|
|
474
475
|
|
|
475
476
|
if isinstance(des, str) and suffix:
|
|
476
477
|
os.makedirs(des, exist_ok=True)
|
|
@@ -515,8 +516,6 @@ class DirUtils:
|
|
|
515
516
|
else:
|
|
516
517
|
raise "Dude what have you done:)"
|
|
517
518
|
|
|
518
|
-
|
|
519
|
-
|
|
520
519
|
@staticmethod
|
|
521
520
|
def split_dir_of_dir(
|
|
522
521
|
in_dir,
|
|
@@ -1187,7 +1186,8 @@ class DirUtils:
|
|
|
1187
1186
|
os.makedirs(target_directory, exist_ok=True)
|
|
1188
1187
|
target_directory_created = True
|
|
1189
1188
|
all_items = list(os.listdir(base_directory))
|
|
1190
|
-
for base_item_name in tqdm(all_items, total=len(all_items),
|
|
1189
|
+
for base_item_name in tqdm(all_items, total=len(all_items),
|
|
1190
|
+
desc=f"Items: {base_directory} --> {target_directory}", disable=not verbose):
|
|
1191
1191
|
if endswith and not base_item_name.endswith(endswith):
|
|
1192
1192
|
continue
|
|
1193
1193
|
if not_endswith and base_item_name.endswith(not_endswith):
|
|
@@ -1195,8 +1195,8 @@ class DirUtils:
|
|
|
1195
1195
|
target_item_path = join(target_directory, base_item_name)
|
|
1196
1196
|
base_item_path = join(base_directory, base_item_name)
|
|
1197
1197
|
|
|
1198
|
-
if min_size:
|
|
1199
|
-
base_size = os.path.getsize(base_item_path) / 1024 / 1024
|
|
1198
|
+
if min_size: # skip if size is less than specified!
|
|
1199
|
+
base_size = os.path.getsize(base_item_path) / 1024 / 1024 # MB
|
|
1200
1200
|
if base_size < min_size:
|
|
1201
1201
|
continue
|
|
1202
1202
|
|
|
@@ -1214,7 +1214,8 @@ class DirUtils:
|
|
|
1214
1214
|
mv_or_copy(base_item_path, target_item_path, mode="cp" if copy else "mv")
|
|
1215
1215
|
else:
|
|
1216
1216
|
if verbose:
|
|
1217
|
-
print(
|
|
1217
|
+
print(
|
|
1218
|
+
f"[WARNING] {base_item_path} with size: {base_size} is different from {target_item_path} with size: {target_size}")
|
|
1218
1219
|
output = True
|
|
1219
1220
|
if DirUtils.is_empty(base_directory) and remove_base_empty_dir:
|
|
1220
1221
|
os.rmdir(base_directory)
|
|
@@ -1229,7 +1230,8 @@ class DirUtils:
|
|
|
1229
1230
|
return output
|
|
1230
1231
|
|
|
1231
1232
|
@staticmethod
|
|
1232
|
-
def move_dir_of_dirs(base_dir: str, target_dir: str, remove_empty_base_dirs:bool=True, verbose: bool = True,
|
|
1233
|
+
def move_dir_of_dirs(base_dir: str, target_dir: str, remove_empty_base_dirs: bool = True, verbose: bool = True,
|
|
1234
|
+
endswith: str | tuple[str] = None, move_n_samples: int = None, n_jobs: int = 1):
|
|
1233
1235
|
"""
|
|
1234
1236
|
|
|
1235
1237
|
:param base_dir:
|
|
@@ -1273,51 +1275,75 @@ class DirUtils:
|
|
|
1273
1275
|
if len(all_base_dirs):
|
|
1274
1276
|
if n_jobs > 1:
|
|
1275
1277
|
from joblib import Parallel, delayed
|
|
1276
|
-
list(tqdm(Parallel(return_as="generator", n_jobs=n_jobs)(
|
|
1278
|
+
list(tqdm(Parallel(return_as="generator", n_jobs=n_jobs)(
|
|
1279
|
+
delayed(_move)(base_directory, target_dir, endswith) for base_directory in all_base_dirs),
|
|
1280
|
+
total=len(all_base_dirs), desc=f"Dirs: {base_dir} --> {target_dir}"))
|
|
1277
1281
|
else:
|
|
1278
|
-
for base_directory in tqdm(all_base_dirs, total=len(all_base_dirs),
|
|
1282
|
+
for base_directory in tqdm(all_base_dirs, total=len(all_base_dirs),
|
|
1283
|
+
desc=f"Dirs: {base_dir} --> {target_dir}"):
|
|
1279
1284
|
_move(base_directory, target_dir, endswith)
|
|
1280
1285
|
|
|
1281
|
-
if DirUtils.is_empty(base_dir)and remove_empty_base_dirs:
|
|
1286
|
+
if DirUtils.is_empty(base_dir) and remove_empty_base_dirs:
|
|
1282
1287
|
os.rmdir(base_dir)
|
|
1283
1288
|
else:
|
|
1284
1289
|
if verbose:
|
|
1285
|
-
print(
|
|
1290
|
+
print(
|
|
1291
|
+
f"[INFO] There are some files(not directories) in {base_dir} preventing it from being removed!")
|
|
1286
1292
|
else:
|
|
1287
1293
|
if endswith and not base_dir.endswith(endswith):
|
|
1288
1294
|
return
|
|
1289
|
-
fixed = DirUtils.safe_item_move(base_dir, target_dir, remove_base_empty_dir=remove_empty_base_dirs,
|
|
1295
|
+
fixed = DirUtils.safe_item_move(base_dir, target_dir, remove_base_empty_dir=remove_empty_base_dirs,
|
|
1296
|
+
verbose=verbose)
|
|
1290
1297
|
if verbose and not fixed:
|
|
1291
1298
|
print(f"Directory: {base_dir} and {target_dir} contain same data")
|
|
1299
|
+
|
|
1292
1300
|
@staticmethod
|
|
1293
|
-
def list_items_walk(directory_path: str, endswith: Union[str, tuple[str, ...]]=None):
|
|
1301
|
+
def list_items_walk(directory_path: str, endswith: Union[str, tuple[str, ...]] = None):
|
|
1294
1302
|
output = []
|
|
1295
1303
|
for root, _, filenames in os.walk(directory_path):
|
|
1296
1304
|
for filename in filenames:
|
|
1297
1305
|
if filename.endswith(endswith):
|
|
1298
1306
|
output.append(join(root, filename))
|
|
1299
1307
|
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
1308
|
@staticmethod
|
|
1303
1309
|
def list_items_scandir(directory_path: str, endswith: Union[str, tuple[str, ...]] = None,
|
|
1304
|
-
not_endswith: Union[str, tuple[str, ...]] = None):
|
|
1305
|
-
if endswith is not None and not_endswith is None:
|
|
1306
|
-
for entry in os.scandir(directory_path):
|
|
1307
|
-
if not entry.name.startswith('.'):
|
|
1308
|
-
if entry.is_file():
|
|
1309
|
-
if entry.name.endswith(endswith):
|
|
1310
|
-
yield entry.path
|
|
1311
|
-
else:
|
|
1312
|
-
yield from DirUtils.list_items_scandir(entry.path, endswith=endswith)
|
|
1310
|
+
not_endswith: Union[str, tuple[str, ...]] = None, only_directory: bool = False):
|
|
1313
1311
|
|
|
1314
|
-
|
|
1312
|
+
if only_directory:
|
|
1315
1313
|
for entry in os.scandir(directory_path):
|
|
1316
1314
|
if not entry.name.startswith('.'):
|
|
1317
|
-
if entry.
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1315
|
+
if entry.is_dir():
|
|
1316
|
+
yield entry.path
|
|
1317
|
+
yield from DirUtils.list_items_scandir(entry.path, only_directory=True)
|
|
1318
|
+
else:
|
|
1319
|
+
if endswith is not None and not_endswith is None:
|
|
1320
|
+
for entry in os.scandir(directory_path):
|
|
1321
|
+
if not entry.name.startswith('.'):
|
|
1322
|
+
if entry.is_file():
|
|
1323
|
+
if entry.name.endswith(endswith):
|
|
1324
|
+
yield entry.path
|
|
1325
|
+
else:
|
|
1326
|
+
yield from DirUtils.list_items_scandir(entry.path, endswith=endswith)
|
|
1327
|
+
|
|
1328
|
+
elif endswith is not None and not_endswith is not None:
|
|
1329
|
+
for entry in os.scandir(directory_path):
|
|
1330
|
+
if not entry.name.startswith('.'):
|
|
1331
|
+
if entry.is_file():
|
|
1332
|
+
if entry.name.endswith(endswith) and not entry.name.endswith(not_endswith):
|
|
1333
|
+
yield entry.path
|
|
1334
|
+
else:
|
|
1335
|
+
yield from DirUtils.list_items_scandir(entry.path, endswith=endswith,
|
|
1336
|
+
not_endswith=not_endswith)
|
|
1337
|
+
|
|
1338
|
+
@staticmethod
|
|
1339
|
+
def get_nvidia_users(password: str):
|
|
1340
|
+
command = f"echo {password} | sudo -S fuser -v /dev/nvidia*"
|
|
1341
|
+
output = DirUtils.execute_command(command)
|
|
1342
|
+
print(output)
|
|
1343
|
+
for line in output.split("\n"):
|
|
1344
|
+
print(line)
|
|
1345
|
+
|
|
1322
1346
|
|
|
1323
1347
|
mkdir_incremental = DirUtils.mkdir_incremental
|
|
1348
|
+
|
|
1349
|
+
|
|
@@ -17,6 +17,35 @@ class FFProbeUtils:
|
|
|
17
17
|
fps_vid = eval(frame_rate.stdout)
|
|
18
18
|
return round(fps_vid)
|
|
19
19
|
|
|
20
|
+
@staticmethod
|
|
21
|
+
def get_frame_count_url(dl_url) -> int:
|
|
22
|
+
"""
|
|
23
|
+
ffprobe -v error -select_streams v:0 -count_packets \
|
|
24
|
+
-show_entries stream=nb_read_packets -of csv=p=0 /home/ai/Downloads/yasir_qadhi/Akhlagh_01_best.mp4
|
|
25
|
+
:param dl_url:
|
|
26
|
+
:return:
|
|
27
|
+
"""
|
|
28
|
+
command = [
|
|
29
|
+
'ffprobe',
|
|
30
|
+
'-v',
|
|
31
|
+
'error',
|
|
32
|
+
'-select_streams',
|
|
33
|
+
'v:0',
|
|
34
|
+
'-count_packets',
|
|
35
|
+
'-show_entries',
|
|
36
|
+
'stream=nb_read_packets',
|
|
37
|
+
'-of',
|
|
38
|
+
'csv=p=0',
|
|
39
|
+
dl_url
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
|
43
|
+
if result.returncode == 0:
|
|
44
|
+
frame_count = result.stdout.strip()
|
|
45
|
+
frame_count = round(float(frame_count))
|
|
46
|
+
return frame_count
|
|
47
|
+
else:
|
|
48
|
+
raise ValueError(f"dl_url: {dl_url} not working")
|
|
20
49
|
|
|
21
50
|
@staticmethod
|
|
22
51
|
def get_video_size_url(dl_url) -> Tuple[int, int]:
|
|
@@ -93,18 +122,24 @@ class FFProbeUtils:
|
|
|
93
122
|
if result.returncode == 0:
|
|
94
123
|
footage_size = result.stdout.strip().strip(",")
|
|
95
124
|
width, height, fps, duration = footage_size.split(",")
|
|
96
|
-
duration =
|
|
125
|
+
duration = duration.strip()
|
|
97
126
|
width = round(float(width.strip()))
|
|
98
127
|
height = round(float(height.strip()))
|
|
99
128
|
if "/" in fps:
|
|
100
129
|
left, right = fps.strip().split("/")
|
|
101
130
|
fps = float(left)/float(right)
|
|
102
131
|
fps = round(fps)
|
|
132
|
+
frame_count = FFProbeUtils.get_frame_count_url(dl_url)
|
|
133
|
+
if duration.isdigit():
|
|
134
|
+
duration = round(float(duration.strip()))
|
|
135
|
+
else:
|
|
136
|
+
duration = frame_count / fps
|
|
137
|
+
|
|
103
138
|
# = [round(float(item.strip().split("/")[0])) if index < 3 else float(item.strip().split("/")[0]) for index, item in enumerate(footage_size.split(",")) ][:4]
|
|
104
|
-
return width, height, fps, duration,
|
|
139
|
+
return width, height, fps, duration, frame_count
|
|
105
140
|
else:
|
|
106
141
|
raise ValueError(f"dl_url: {dl_url} not working")
|
|
107
142
|
|
|
108
143
|
if __name__ == '__main__':
|
|
109
|
-
info = FFProbeUtils.get_width_height_fps_duration_frame_count("")
|
|
144
|
+
info = FFProbeUtils.get_width_height_fps_duration_frame_count("/home/ai/Downloads/yasir_qadhi/Akhlagh_01_best.mp4")
|
|
110
145
|
print("info: ", info)
|
|
@@ -48,7 +48,7 @@ class JsonUtils:
|
|
|
48
48
|
|
|
49
49
|
@staticmethod
|
|
50
50
|
def safe_numpy_json(json_object):
|
|
51
|
-
if isinstance(json_object, list):
|
|
51
|
+
if isinstance(json_object, (list, tuple, set)):
|
|
52
52
|
json_object = [JsonUtils.safe_numpy_json(item) for item in json_object]
|
|
53
53
|
elif isinstance(json_object, dict):
|
|
54
54
|
json_object = {k: JsonUtils.safe_numpy_json(v) for k, v in json_object.items()}
|
|
@@ -62,6 +62,7 @@ class DownloadYoutube:
|
|
|
62
62
|
'-o', output_path,
|
|
63
63
|
'--no-warnings',
|
|
64
64
|
'--progress',
|
|
65
|
+
"--merge-output-format", file_format,
|
|
65
66
|
video_url
|
|
66
67
|
]
|
|
67
68
|
|
|
@@ -175,5 +176,5 @@ if __name__ == '__main__':
|
|
|
175
176
|
DownloadYoutube.download_video(video_id="jEH1eokufjU&list=PLYZxc42QNctWxkUZ7WSsUYC7yo8D85igl",
|
|
176
177
|
output_dir="/home/aicvi/Downloads",
|
|
177
178
|
channel_name="yasir_qadhi",
|
|
178
|
-
video_title="
|
|
179
|
-
resolution="
|
|
179
|
+
video_title="Akhlagh_01_best",
|
|
180
|
+
resolution="best")
|
|
File without changes
|
|
File without changes
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: deep-utils
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.6
|
|
4
4
|
Summary: Deep Utils
|
|
5
5
|
Home-page: https://github.com/pooya-mohammadi/deep_utils
|
|
6
6
|
Author: Pooya Mohammadi Kazaj
|
|
7
7
|
Author-email: pooyamohammadikazaj@gmial.com
|
|
8
8
|
License: UNKNOWN
|
|
9
|
-
Download-URL: https://github.com/pooya-mohammadi/deep_utils/archive/refs/tags/1.5.
|
|
9
|
+
Download-URL: https://github.com/pooya-mohammadi/deep_utils/archive/refs/tags/1.5.6.tar.gz
|
|
10
10
|
Description: [](https://pepy.tech/project/deep_utils) [](https://pypi.python.org/pypi/deep_utils)
|
|
11
11
|
|
|
12
12
|
<div id="top"></div>
|
|
@@ -70,6 +70,8 @@ deep_utils/main_abs/cv2/cv2_config.py
|
|
|
70
70
|
deep_utils/main_abs/cv2/cv2_main.py
|
|
71
71
|
deep_utils/medical/__init__.py
|
|
72
72
|
deep_utils/medical/main_utils.py
|
|
73
|
+
deep_utils/medical/dicom2nifti_utils/__init__.py
|
|
74
|
+
deep_utils/medical/dicom2nifti_utils/dicom2nifti_utils.py
|
|
73
75
|
deep_utils/medical/metrics/__init__.py
|
|
74
76
|
deep_utils/medical/metrics/metrics.py
|
|
75
77
|
deep_utils/medical/nib_utils/__init__.py
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/audio/classification/wav2vec2/torch/__init__.py
RENAMED
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/design_patterns/chain_of_responsibility/__init__.py
RENAMED
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/multi_modals/_models/blip/torch/models/blip.py
RENAMED
|
File without changes
|
{deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/multi_modals/_models/blip/torch/models/med.py
RENAMED
|
File without changes
|
|
File without changes
|
{deep_utils-1.5.4 → deep_utils-1.5.6}/deep_utils/multi_modals/_models/blip/torch/models/vit.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|