deep-utils 1.4.8__tar.gz → 1.4.10__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.4.8 → deep_utils-1.4.10}/PKG-INFO +2 -2
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/__init__.py +1 -1
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/boto3_utils/boto3_utils.py +20 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/dir_utils/dir_utils.py +30 -4
- deep_utils-1.4.10/deep_utils/utils/ff_utils/ffprobe_utils.py +95 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/requests_utils/requests_utils.py +11 -4
- deep_utils-1.4.10/deep_utils/utils/str_utils/str_utils.py +89 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils.egg-info/PKG-INFO +2 -2
- {deep_utils-1.4.8 → deep_utils-1.4.10}/setup.py +1 -1
- deep_utils-1.4.8/deep_utils/utils/ff_utils/ffprobe_utils.py +0 -21
- deep_utils-1.4.8/deep_utils/utils/str_utils/str_utils.py +0 -39
- {deep_utils-1.4.8 → deep_utils-1.4.10}/LICENSE +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/asr/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/asr/wav2vec2/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/asr/wav2vec2/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/asr/wav2vec2/torch/main.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/audio_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/audio_utils/librosa_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/audio_utils/soundfile_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/audio_utils/torchaudio_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/audio_utils/vox_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/classification/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/classification/wav2vec2/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/classification/wav2vec2/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/classification/wav2vec2/torch/audio_classification_wav2vec2.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/diarization/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/diarization/pyannote/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/diarization/pyannote/pyannote_audio_diarization.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/vad/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/vad/pyannote/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/audio/vad/pyannote/pyannote_audio_vad.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/augmentation/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/augmentation/cutmix/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/augmentation/cutmix/cutmix_tf.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/augmentation/cutmix/cutmix_torch.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/augmentation/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/augmentation/torch/augmentation_torch.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/blocks/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/blocks/tf/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/blocks/tf/blocks_tf.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/blocks/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/blocks/torch/blocks_torch.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/callbacks/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/callbacks/tf_keras/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/callbacks/tf_keras/lr.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/callbacks/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/callbacks/torch/torch_csv_logger.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/callbacks/torch/torch_model_checkpoint.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/callbacks/torch/torch_tensorboard.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/design_patterns/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/design_patterns/chain_of_responsibility/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/design_patterns/chain_of_responsibility/chain_of_responsibilities_handlers.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/dummy_objects/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/dummy_objects/dummies.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/dummy_objects/dummy_framework.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/elasticsearch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/elasticsearch/search_engine/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/elasticsearch/search_engine/abs_elasticsearch_search_engine.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/elasticsearch/search_engine/async_elasticsearch_search_engine.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/elasticsearch/search_engine/elasticsearch_search_engine.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/gis/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/gis/projection/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/gis/projection/main.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/llm/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/llm/utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/main_abs/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/main_abs/cv2/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/main_abs/cv2/cv2_caffe.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/main_abs/cv2/cv2_config.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/main_abs/cv2/cv2_main.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/main_abs/main.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/main_abs/main_config.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/medical/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/medical/main_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/medical/metrics/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/medical/metrics/metrics.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/medical/nib_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/medical/nib_utils/nib_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/medical/nnunet_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/medical/nnunet_utils/nnunet_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/medical/sitk_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/medical/sitk_utils/sitk_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/multi_modals/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/multi_modals/_models/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/multi_modals/_models/blip/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/multi_modals/_models/blip/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/multi_modals/_models/blip/torch/models/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/multi_modals/_models/blip/torch/models/blip.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/multi_modals/_models/blip/torch/models/med.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/multi_modals/_models/blip/torch/models/med_configs.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/multi_modals/_models/blip/torch/models/vit.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/nlp/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/nlp/ner/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/nlp/ner/augmentation.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/nlp/ner/base_operations.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/nlp/ner/preprocessing.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/nlp/ner/taggers.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/nlp/ner/utils_.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/nlp/utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/nlp/utils/multi_lang_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/nlp/utils/multi_lang_utils/multi_lang_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/nlp/utils/persian/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/nlp/utils/persian/utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/preprocessing/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/preprocessing/monai/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/preprocessing/monai/monai_segmentation.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/algorithm_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/algorithm_utils/main.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/boto3_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/box_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/box_utils/box_dataclasses.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/box_utils/boxes.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/coco_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/coco_utils/main.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/color_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/color_utils/color_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/compress_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/compress_utils/zip_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/constants.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/ctc_decoder/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/ctc_decoder/ctc_decoder.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/dataclass_parser/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/dataclass_parser/dataclass_argparser.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/dataclass_parser/example.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/decorators/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/decorators/main.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/decord_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/decord_utils/decord_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/dict_named_tuple_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/dict_named_tuple_utils/dictnamedtuple_37.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/dict_named_tuple_utils/dictnamedtuple_38.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/dict_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/dict_utils/dict_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/dir_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/download_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/download_utils/async_download_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/download_utils/download_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/encodes/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/encodes/b64.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/encodes/web_inputs.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/fa_nlp_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/fa_nlp_utils/fa_nlp_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/ff_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/gif_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/gif_utils/gif_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/hash_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/hash_utils/hash_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/image_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/image_utils/image_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/json_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/json_utils/json_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/kafka_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/kafka_utils/kafka_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/lib_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/lib_utils/download_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/lib_utils/integeration_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/lib_utils/lib_decorators.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/lib_utils/main_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/list_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/list_utils/list_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/logging_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/logging_utils/logging_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/lr_scheduler_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/lr_scheduler_utils/warmup.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/matplotlib_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/matplotlib_utils/bar_plots.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/matplotlib_utils/main.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/memory_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/memory_utils/torch_memory_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/minio_lib/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/minio_lib/main.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/multi_label_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/multi_label_utils/stratify/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/multi_label_utils/stratify/stratify_train_test_split.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/np_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/np_utils/main_np.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/numpy_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/numpy_utils/numpy_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/object_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/object_utils/object_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/opencv_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/opencv_utils/opencv_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/optimizers/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/optimizers/tf.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/os_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/os_utils/os_path.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/pickle_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/pickle_utils/pickle_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/postgresql_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/postgresql_utils/postgresql_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/prompt_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/prompt_utils/prompt_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/py_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/py_utils/py_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/qdrant_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/qdrant_utils/qdrant_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/random_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/random_utils/random_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/re_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/re_utils/re_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/requests_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/resize_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/resize_utils/main_resize.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/shutil_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/shutil_utils/shutil_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/sqlalchemy/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/sqlalchemy/checks.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/sqlalchemy/insert.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/sqlalchemy/sqlalchemy_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/str_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/tensorboard_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/tensorboard_utils/tesnsorboard_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/tf_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/tf_utils/logging.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/tf_utils/main.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/tiktoken_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/tiktoken_utils/tiktoken_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/torch_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/torch_utils/torch_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/utils/arg_parser.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/utils/hyper_parameters.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/utils/shuffle_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/utils/yaml_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/variable_naming_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/utils/variable_naming_utils/variable_naming_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/color_recognition/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/color_recognition/cnn_color/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/color_recognition/cnn_color/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/color_recognition/cnn_color/torch/color_cnn_torch.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/color_recognition/cnn_color/torch/color_cnn_torch_pred.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/haarcascade/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/haarcascade/cv2_/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/haarcascade/cv2_/config.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/haarcascade/cv2_/haarcascade_cv2_face_detection.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/main/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/main/main_face_detection.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/mtcnn/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/mtcnn/tf/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/mtcnn/tf/config.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/mtcnn/tf/mtcnn_tf_face_detection.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/mtcnn/tf/src/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/mtcnn/tf/src/box_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/mtcnn/tf/src/first_stage.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/mtcnn/tf/src/get_nets.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/mtcnn/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/mtcnn/torch/config.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/mtcnn/torch/mtcnn_torch_face_detection.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/mtcnn/torch/src/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/mtcnn/torch/src/box_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/mtcnn/torch/src/first_stage.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/mtcnn/torch/src/get_nets.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/config.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/retinaface_torch_face_detection.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/src/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/src/layers/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/src/layers/functions/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/src/layers/functions/prior_box.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/src/layers/modules/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/src/layers/modules/multibox_loss.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/src/load_model.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/src/net.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/src/retinaface.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/src/utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/src/utils/box_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/src/utils/nms/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/src/utils/nms/py_cpu_nms.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/retinaface/torch/src/utils/timer.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ssd/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ssd/cv2/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ssd/cv2/caffe/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ssd/cv2/caffe/config.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ssd/cv2/caffe/ssd_cv2_caffe_face_detection.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/tf/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/tf/config.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/tf/ultralight_tf_face_detection.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/tf/utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/tf/utils/op.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/tf/utils/rfb_320.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/tf/utils/slim_320.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/tf/utils/utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/torch/config.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/torch/ultralight_torch_face_detection.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/torch/utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/torch/utils/box_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/torch/utils/data_preprocessing.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/torch/utils/fd_config.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/torch/utils/mb_tiny.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/torch/utils/mb_tiny_RFB.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/torch/utils/mb_tiny_RFB_fd.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/torch/utils/mb_tiny_fd.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/torch/utils/misc.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/torch/utils/predictor.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/torch/utils/ssd.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_detection/ultralight/torch/utils/transforms.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_recognition/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_recognition/main/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_recognition/main/main_face_recognition.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_recognition/vggface2/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_recognition/vggface2/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_recognition/vggface2/torch/config.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_recognition/vggface2/torch/src/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_recognition/vggface2/torch/src/inception_resnet_v1.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_recognition/vggface2/torch/src/senet_model.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/face_recognition/vggface2/torch/vggface2_torch.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/image_caption/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/image_caption/blip/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/image_caption/blip/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/image_caption/blip/torch/blip_torch_image_caption.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/image_caption/image_caption.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/image_editing/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/image_editing/glide/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/image_editing/glide/glide_image_editing.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/main/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/main/main_object_detection.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/config.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/models/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/models/common.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/models/experimental.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/models/tf.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/models/yolo.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolo_v5_torch_object_detection.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/activations.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/augmentations.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/autoanchor.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/autobatch.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/callbacks.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/dataloaders.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/datasets.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/downloads.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/general.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/google_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/loss.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/metrics.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/plots.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/segment/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/segment/augmentations.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/segment/dataloaders.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/segment/general.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/segment/loss.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/segment/metrics.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/segment/plots.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/torch_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v5/torch/yolov5_utils/triton.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/config.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/models/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/models/common.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/models/experimental.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/models/yolo.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/yolo_v7_torch_object_detection.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/activations.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/add_nms.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/autoanchor.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/datasets.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/general.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/google_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/loss.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/metrics.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/plots.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/v7/torch/yolov7_utils/torch_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_detection/yolo/yolo_detector.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/deep/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/deep_sort.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/sort/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/sort/detection.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/sort/iou_matching.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/sort/kalman_filter.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/sort/linear_assignment.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/sort/nn_matching.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/sort/preprocessing.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/sort/track.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/sort/tracker.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/utils/asserts.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/utils/draw.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/utils/evaluation.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/utils/io.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/utils/json_logger.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/utils/log.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/utils/parser.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/object_tracker/deep_sort/torch/utils/tools.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/ocr/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/ocr/crnn/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/ocr/crnn/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/ocr/crnn/torch/crnn_inference.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/ocr/crnn/torch/crnn_model.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/text2box_visual_grounding/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/text2box_visual_grounding/dino/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/text2box_visual_grounding/dino/visual_grounding_dino_torch.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/torch_vision/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/torch_vision/torch_vision_inference/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/torch_vision/torch_vision_inference/torch_vision_inference.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/torch_vision/torch_vision_models/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/torch_vision/torch_vision_models/torch_vision_models.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/vision_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/vision_utils/torch_vision_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/vision/vision_utils/torch_vision_utils/torch_vision_utils.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils.egg-info/SOURCES.txt +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils.egg-info/dependency_links.txt +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils.egg-info/requires.txt +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils.egg-info/top_level.txt +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/setup.cfg +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/utils/encoding_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/utils/encoding_utils/encoding_utils_test.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/utils/np_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/utils/np_utils/np_utils_test.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/utils/resize_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/utils/resize_utils/resize_utils_test.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/utils/utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/vision/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/vision/face_detection/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/vision/face_detection/mtcnn/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/vision/face_detection/mtcnn/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/vision/face_detection/mtcnn/torch/mtcnn_torch_test.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/vision/face_detection/ultralight/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/vision/face_detection/ultralight/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/vision/face_detection/ultralight/torch/ultralight_torch_test.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/vision/object_detection/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/vision/object_detection/yolo/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/vision/object_detection/yolo/v5/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/vision/object_detection/yolo/v5/torch/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/vision/object_detection/yolo/v5/torch/yolov5_detection_test.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/vision/vision_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/tests/vision/vision_utils/torch_vision_utils/__init__.py +0 -0
- {deep_utils-1.4.8 → deep_utils-1.4.10}/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.4.
|
|
3
|
+
Version: 1.4.10
|
|
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.4.
|
|
9
|
+
Download-URL: https://github.com/pooya-mohammadi/deep_utils/archive/refs/tags/1.4.10.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.4.
|
|
7
|
+
__version__ = "1.4.10"
|
|
8
8
|
|
|
9
9
|
from .utils.constants import DUMMY_PATH, Backends
|
|
10
10
|
|
|
@@ -154,3 +154,23 @@ class Boto3Utils:
|
|
|
154
154
|
"""
|
|
155
155
|
con_bucket = self._get_bucket_connection(bucket_name)
|
|
156
156
|
con_bucket.upload_file(Filename=file_path, Key=file_name)
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
def download_file(self, remote_key: str, local_download_path: str, bucket_name: str = None,
|
|
160
|
+
check_file_exists=False) -> str:
|
|
161
|
+
"""
|
|
162
|
+
downloads a file from s3/minio
|
|
163
|
+
:param remote_key:
|
|
164
|
+
:param local_download_path:
|
|
165
|
+
:param check_file_exists: if True, then check if file exists in local path
|
|
166
|
+
:param bucket_name: if None, then use the default bucket.
|
|
167
|
+
:return:
|
|
168
|
+
"""
|
|
169
|
+
con_bucket = self._get_bucket_connection(bucket_name)
|
|
170
|
+
if check_file_exists and os.path.exists(local_download_path):
|
|
171
|
+
return local_download_path
|
|
172
|
+
dir_name = os.path.dirname(local_download_path)
|
|
173
|
+
if dir_name:
|
|
174
|
+
os.makedirs(dir_name, exist_ok=True)
|
|
175
|
+
con_bucket.download_file(Key=remote_key, Filename=local_download_path)
|
|
176
|
+
return local_download_path
|
|
@@ -646,7 +646,7 @@ class DirUtils:
|
|
|
646
646
|
dir_depth: int = -1,
|
|
647
647
|
exact_depth: bool = False,
|
|
648
648
|
return_dict: bool = False,
|
|
649
|
-
ends_with:Optional[Union[str, List[str]]] = None,
|
|
649
|
+
ends_with: Optional[Union[str, List[str]]] = None,
|
|
650
650
|
) -> Union[List[str], Dict[str, str]]:
|
|
651
651
|
"""
|
|
652
652
|
Returns the full path objects in a directory
|
|
@@ -889,6 +889,7 @@ class DirUtils:
|
|
|
889
889
|
return True
|
|
890
890
|
else:
|
|
891
891
|
raise ValueError(f"ext: {ext} is not supported!")
|
|
892
|
+
|
|
892
893
|
@staticmethod
|
|
893
894
|
def file_incremental(file_path: str | None, artifact_type="prefix", artifact_value=0, extra_punctuation="_",
|
|
894
895
|
add_artifact_value=False, dir_items: list[str] | None = None):
|
|
@@ -1031,11 +1032,36 @@ class DirUtils:
|
|
|
1031
1032
|
else:
|
|
1032
1033
|
output = os.path.join(*outputs)
|
|
1033
1034
|
return output
|
|
1035
|
+
@staticmethod
|
|
1036
|
+
def get_file_time(filepath: str):
|
|
1037
|
+
item = DirUtils.execute_command(f"ls -l '{filepath}'")
|
|
1038
|
+
return " ".join(item.split(" ")[-4: -1])
|
|
1034
1039
|
|
|
1035
1040
|
@staticmethod
|
|
1036
1041
|
def get_dir_time(directory: str):
|
|
1037
|
-
return {item.split(" ")[-1]: " ".join(
|
|
1042
|
+
return {item.split(" ")[-1]: " ".join(item.split(" ")[-4: -1]) for item in
|
|
1043
|
+
DirUtils.execute_command(f"ls -l '{directory}'").split("\n") if item}
|
|
1044
|
+
|
|
1045
|
+
@staticmethod
|
|
1046
|
+
def open_dir(directory: str):
|
|
1047
|
+
os.system(f"nautilus '{directory}'")
|
|
1048
|
+
|
|
1049
|
+
@staticmethod
|
|
1050
|
+
def get_symbolink(directory: str) -> Dict[str, str]:
|
|
1051
|
+
output = [item.split("->") for item in DirUtils.execute_command(f"ls -l {directory}").split("\n")[1:]]
|
|
1052
|
+
output = {" ".join(item[0].strip().split(" ")[9:]).strip(): item[1].strip() for item in output if len(item) == 2}
|
|
1053
|
+
return output
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
@staticmethod
|
|
1057
|
+
def open_image(path):
|
|
1058
|
+
import sys
|
|
1059
|
+
import subprocess
|
|
1060
|
+
imageViewerFromCommandLine = {'linux': 'xdg-open',
|
|
1061
|
+
'win32': 'explorer',
|
|
1062
|
+
'darwin': 'open'}[sys.platform]
|
|
1063
|
+
subprocess.run([imageViewerFromCommandLine, path])
|
|
1064
|
+
|
|
1065
|
+
|
|
1038
1066
|
mkdir_incremental = DirUtils.mkdir_incremental
|
|
1039
1067
|
|
|
1040
|
-
if __name__ == '__main__':
|
|
1041
|
-
print() #
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import subprocess
|
|
2
|
+
from typing import Tuple, Union
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FFProbeUtils:
|
|
7
|
+
|
|
8
|
+
@staticmethod
|
|
9
|
+
def get_fps(video_path: str) -> int:
|
|
10
|
+
"""
|
|
11
|
+
Extracts the frame rate of a video
|
|
12
|
+
:param video_path: path to video
|
|
13
|
+
:return: frame rate
|
|
14
|
+
"""
|
|
15
|
+
command = f"ffprobe -v 0 -of csv=p=0 -select_streams v:0 -show_entries stream=r_frame_rate {video_path}"
|
|
16
|
+
frame_rate = subprocess.run(command, shell=True, capture_output=True, text=True)
|
|
17
|
+
fps_vid = eval(frame_rate.stdout)
|
|
18
|
+
return round(fps_vid)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
@staticmethod
|
|
22
|
+
def get_video_size_url(dl_url) -> Tuple[int, int]:
|
|
23
|
+
|
|
24
|
+
command = [
|
|
25
|
+
'ffprobe',
|
|
26
|
+
'-v',
|
|
27
|
+
'error',
|
|
28
|
+
'-select_streams',
|
|
29
|
+
'v:0',
|
|
30
|
+
'-show_entries',
|
|
31
|
+
'stream=width,height',
|
|
32
|
+
'-of',
|
|
33
|
+
'csv=p=0',
|
|
34
|
+
dl_url
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
|
38
|
+
if result.returncode == 0:
|
|
39
|
+
footage_size = result.stdout.strip().strip(",")
|
|
40
|
+
width, height = [round(item.strip()) for item in footage_size.split(",")][:2]
|
|
41
|
+
return width, height
|
|
42
|
+
else:
|
|
43
|
+
raise ValueError(f"dl_url: {dl_url} not working")
|
|
44
|
+
|
|
45
|
+
@staticmethod
|
|
46
|
+
def get_width_height_fps(dl_url:str) -> Tuple[int, int, int]:
|
|
47
|
+
|
|
48
|
+
command = [
|
|
49
|
+
'ffprobe',
|
|
50
|
+
'-v',
|
|
51
|
+
'error',
|
|
52
|
+
'-select_streams',
|
|
53
|
+
'v:0',
|
|
54
|
+
'-show_entries',
|
|
55
|
+
'stream=width,height,r_frame_rate',
|
|
56
|
+
'-of',
|
|
57
|
+
'csv=p=0',
|
|
58
|
+
dl_url
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
|
62
|
+
if result.returncode == 0:
|
|
63
|
+
footage_size = result.stdout.strip().strip(",")
|
|
64
|
+
width, height, fps = [round(float(item.strip().split("/")[0])) for item in footage_size.split(",")][:3]
|
|
65
|
+
return width, height, fps
|
|
66
|
+
else:
|
|
67
|
+
raise ValueError(f"dl_url: {dl_url} not working")
|
|
68
|
+
|
|
69
|
+
@staticmethod
|
|
70
|
+
def get_width_height_fps_duration_frame_count(dl_url: str) -> Tuple[int, int, int, float, int]:
|
|
71
|
+
|
|
72
|
+
command = [
|
|
73
|
+
'ffprobe',
|
|
74
|
+
'-v',
|
|
75
|
+
'error',
|
|
76
|
+
'-select_streams',
|
|
77
|
+
'v:0',
|
|
78
|
+
'-show_entries',
|
|
79
|
+
'stream=width,height,r_frame_rate,duration',
|
|
80
|
+
'-of',
|
|
81
|
+
'csv=p=0',
|
|
82
|
+
dl_url
|
|
83
|
+
]
|
|
84
|
+
|
|
85
|
+
result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
|
86
|
+
if result.returncode == 0:
|
|
87
|
+
footage_size = result.stdout.strip().strip(",")
|
|
88
|
+
width, height, fps, duration = [round(float(item.strip().split("/")[0])) if index < 3 else float(item.strip().split("/")[0]) for index, item in enumerate(footage_size.split(",")) ][:4]
|
|
89
|
+
return width, height, fps, duration, round(duration * fps)
|
|
90
|
+
else:
|
|
91
|
+
raise ValueError(f"dl_url: {dl_url} not working")
|
|
92
|
+
|
|
93
|
+
if __name__ == '__main__':
|
|
94
|
+
info = FFProbeUtils.get_width_height_fps_duration_frame_count("/home/aicvi/projects/ShifterRemotion/public/sample.mp4")
|
|
95
|
+
print("info: ", info)
|
|
@@ -98,7 +98,6 @@ class AIOHttpRequests:
|
|
|
98
98
|
print("Failed to update data:", response.status)
|
|
99
99
|
print("Response text:", await response.text())
|
|
100
100
|
|
|
101
|
-
|
|
102
101
|
@staticmethod
|
|
103
102
|
async def _encoding(response, encoding: str | None):
|
|
104
103
|
if encoding == "content":
|
|
@@ -120,13 +119,21 @@ class AIOHttpRequests:
|
|
|
120
119
|
ssl: bool = False,
|
|
121
120
|
encoding: Optional[str] = None,
|
|
122
121
|
json_serialize: Callable = json.dumps,
|
|
123
|
-
json: dict = None
|
|
122
|
+
json: dict = None,
|
|
123
|
+
timeout: int = None
|
|
124
124
|
):
|
|
125
125
|
"""
|
|
126
126
|
The files should have the following items:
|
|
127
127
|
[{'name': variable_name, 'value': file_content, 'content_type': multipart/form-data||application/vnd.ms-excel||etc,
|
|
128
128
|
}, {...}]
|
|
129
|
+
Note: make sure to do open(filepath, 'rb') instead of open(filepath) or use cv2 for images:
|
|
130
|
+
img = cv2.imread("img-path")
|
|
131
|
+
_, buffer = cv2.imencode('.jpg', img)
|
|
132
|
+
file_bytes = buffer.tobytes()
|
|
129
133
|
data or files one of them should be filled!
|
|
134
|
+
Note: If you files alongside data, in your input you cannot use pydantic models since the inputs are form data and I believe pydantic checks the json data. So you should have like the following:
|
|
135
|
+
@app.post("/main")
|
|
136
|
+
def main( img_file: Annotated[UploadFile | None, File()] = None, message : Annotated[str, Form()] = ""):
|
|
130
137
|
If you want to send a dictionary as json, set the json to True. in that case you cannot send files!
|
|
131
138
|
:param url:
|
|
132
139
|
:param data:
|
|
@@ -150,9 +157,9 @@ class AIOHttpRequests:
|
|
|
150
157
|
form_data.add_field(file_obj.get("name", "file"), file_obj["value"],
|
|
151
158
|
filename=file_obj.get("filename"),
|
|
152
159
|
content_type=file_obj.get("content_type", 'multipart/form-data'))
|
|
153
|
-
output = await session.post(url, data=form_data, ssl=ssl)
|
|
160
|
+
output = await session.post(url, data=form_data, ssl=ssl, timeout=timeout)
|
|
154
161
|
else:
|
|
155
|
-
output = await session.post(url, json=json, ssl=ssl)
|
|
162
|
+
output = await session.post(url, json=json, ssl=ssl, timeout=timeout)
|
|
156
163
|
output = await AIOHttpRequests._encoding(output, encoding)
|
|
157
164
|
return output
|
|
158
165
|
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
from typing import Union, List, Optional
|
|
2
|
+
|
|
3
|
+
class StringUtils:
|
|
4
|
+
@staticmethod
|
|
5
|
+
def split(input_str: str, *split, remove_empty: bool = True) -> List[str]:
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
:param input_str:
|
|
9
|
+
:param split:
|
|
10
|
+
:param remove_empty:
|
|
11
|
+
:return:
|
|
12
|
+
>>> StringUtils.split("wow.r pooya, wowo", " ", ",")
|
|
13
|
+
['wow.r', 'pooya', 'wowo']
|
|
14
|
+
>>> StringUtils.split("wow.r pooya, wowo", " ", ",", ".")
|
|
15
|
+
['wow', 'r', 'pooya', 'wowo']
|
|
16
|
+
"""
|
|
17
|
+
if isinstance(input_str, str):
|
|
18
|
+
input_str = [input_str]
|
|
19
|
+
while split:
|
|
20
|
+
inner_list = []
|
|
21
|
+
split_val, *split = split
|
|
22
|
+
for str_val in input_str:
|
|
23
|
+
inner_list.extend([s for s in str_val.split(split_val) if not remove_empty or s])
|
|
24
|
+
input_str = inner_list
|
|
25
|
+
return input_str
|
|
26
|
+
|
|
27
|
+
@staticmethod
|
|
28
|
+
def right_replace(input_str: str, replace: Union[str, list[str]], replace_with: str, count: int = 1):
|
|
29
|
+
replace_list = [replace] if isinstance(replace, str) else replace
|
|
30
|
+
reverse_input_str = input_str[::-1]
|
|
31
|
+
reverse_replace_with = replace_with[::-1]
|
|
32
|
+
for replace in replace_list:
|
|
33
|
+
reverse_replace = replace[::-1]
|
|
34
|
+
reverse_input_str = reverse_input_str.replace(reverse_replace,
|
|
35
|
+
reverse_replace_with,
|
|
36
|
+
count)
|
|
37
|
+
return reverse_input_str[::-1]
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
@staticmethod
|
|
41
|
+
def color_str(text: str, color: Optional[str] = "yellow", mode: Union[str, list] = "bold"):
|
|
42
|
+
"""
|
|
43
|
+
colorful texts!
|
|
44
|
+
:param text: input text
|
|
45
|
+
:param color: text color
|
|
46
|
+
:param mode: defines text's modes. Valid modes: [ underline, bold ]. Pass a list of modes in case more one mode is needed!
|
|
47
|
+
:return: colored text
|
|
48
|
+
"""
|
|
49
|
+
if isinstance(mode, str):
|
|
50
|
+
mode = [mode]
|
|
51
|
+
colors = {
|
|
52
|
+
"black": "\033[30m", # basic colors
|
|
53
|
+
"red": "\033[31m",
|
|
54
|
+
"green": "\033[32m",
|
|
55
|
+
"yellow": "\033[33m",
|
|
56
|
+
"blue": "\033[34m",
|
|
57
|
+
"magenta": "\033[35m",
|
|
58
|
+
"cyan": "\033[36m",
|
|
59
|
+
"white": "\033[37m",
|
|
60
|
+
"bright_black": "\033[90m", # bright colors
|
|
61
|
+
"bright_red": "\033[91m",
|
|
62
|
+
"bright_green": "\033[92m",
|
|
63
|
+
"bright_yellow": "\033[93m",
|
|
64
|
+
"bright_blue": "\033[94m",
|
|
65
|
+
"bright_magenta": "\033[95m",
|
|
66
|
+
"bright_cyan": "\033[96m",
|
|
67
|
+
"bright_white": "\033[97m",
|
|
68
|
+
"end": "\033[0m", # misc
|
|
69
|
+
"bold": "\033[1m",
|
|
70
|
+
"underline": "\033[4m",
|
|
71
|
+
}
|
|
72
|
+
return (colors[color.lower()] if color is not None else "") + (
|
|
73
|
+
"".join(colors[m.lower()] for m in mode) if mode is not None else "") + text + \
|
|
74
|
+
colors["end"]
|
|
75
|
+
|
|
76
|
+
@staticmethod
|
|
77
|
+
def print(*args, sep=' ', end='\n', file=None, color: Optional[str] = "red", mode: Union[str, list] = "bold"):
|
|
78
|
+
"""
|
|
79
|
+
colorful print!
|
|
80
|
+
:param args:
|
|
81
|
+
:param sep:
|
|
82
|
+
:param end:
|
|
83
|
+
:param file:
|
|
84
|
+
:param color:
|
|
85
|
+
:param mode: text mode: available modes: bold, underline
|
|
86
|
+
:return:
|
|
87
|
+
"""
|
|
88
|
+
args = [StringUtils.color_str(str(arg), color=color, mode=mode) for arg in args]
|
|
89
|
+
print(*args, sep=sep, end=end, file=file)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: deep-utils
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.10
|
|
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.4.
|
|
9
|
+
Download-URL: https://github.com/pooya-mohammadi/deep_utils/archive/refs/tags/1.4.10.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>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import subprocess
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
class FFProbeUtils:
|
|
5
|
-
|
|
6
|
-
@staticmethod
|
|
7
|
-
def get_fps(video_path: str) -> int:
|
|
8
|
-
"""
|
|
9
|
-
Extracts the frame rate of a video
|
|
10
|
-
:param video_path: path to video
|
|
11
|
-
:return: frame rate
|
|
12
|
-
"""
|
|
13
|
-
command = f"ffprobe -v 0 -of csv=p=0 -select_streams v:0 -show_entries stream=r_frame_rate {video_path}"
|
|
14
|
-
frame_rate = subprocess.run(command, shell=True, capture_output=True, text=True)
|
|
15
|
-
fps_vid = eval(frame_rate.stdout)
|
|
16
|
-
return round(fps_vid)
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
if __name__ == '__main__':
|
|
20
|
-
fps = FFProbeUtils.get_fps("https://filmeditor.io/thumbnails/saeed-video/InformativeShortFormAnimation_DEAR.mp4")
|
|
21
|
-
print("fps: ", fps)
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
from typing import Union
|
|
2
|
-
from typing import List
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class StringUtils:
|
|
6
|
-
@staticmethod
|
|
7
|
-
def split(input_str: str, *split, remove_empty: bool = True) -> List[str]:
|
|
8
|
-
"""
|
|
9
|
-
|
|
10
|
-
:param input_str:
|
|
11
|
-
:param split:
|
|
12
|
-
:param remove_empty:
|
|
13
|
-
:return:
|
|
14
|
-
>>> StringUtils.split("wow.r pooya, wowo", " ", ",")
|
|
15
|
-
['wow.r', 'pooya', 'wowo']
|
|
16
|
-
>>> StringUtils.split("wow.r pooya, wowo", " ", ",", ".")
|
|
17
|
-
['wow', 'r', 'pooya', 'wowo']
|
|
18
|
-
"""
|
|
19
|
-
if isinstance(input_str, str):
|
|
20
|
-
input_str = [input_str]
|
|
21
|
-
while split:
|
|
22
|
-
inner_list = []
|
|
23
|
-
split_val, *split = split
|
|
24
|
-
for str_val in input_str:
|
|
25
|
-
inner_list.extend([s for s in str_val.split(split_val) if not remove_empty or s])
|
|
26
|
-
input_str = inner_list
|
|
27
|
-
return input_str
|
|
28
|
-
|
|
29
|
-
@staticmethod
|
|
30
|
-
def right_replace(input_str: str, replace: Union[str, list[str]], replace_with: str, count: int = 1):
|
|
31
|
-
replace_list = [replace] if isinstance(replace, str) else replace
|
|
32
|
-
reverse_input_str = input_str[::-1]
|
|
33
|
-
reverse_replace_with = replace_with[::-1]
|
|
34
|
-
for replace in replace_list:
|
|
35
|
-
reverse_replace = replace[::-1]
|
|
36
|
-
reverse_input_str = reverse_input_str.replace(reverse_replace,
|
|
37
|
-
reverse_replace_with,
|
|
38
|
-
count)
|
|
39
|
-
return reverse_input_str[::-1]
|
|
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.4.8 → deep_utils-1.4.10}/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
|
|
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.4.8 → deep_utils-1.4.10}/deep_utils/multi_modals/_models/blip/torch/__init__.py
RENAMED
|
File without changes
|
{deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/multi_modals/_models/blip/torch/models/__init__.py
RENAMED
|
File without changes
|
{deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/multi_modals/_models/blip/torch/models/blip.py
RENAMED
|
File without changes
|
{deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/multi_modals/_models/blip/torch/models/med.py
RENAMED
|
File without changes
|
|
File without changes
|
{deep_utils-1.4.8 → deep_utils-1.4.10}/deep_utils/multi_modals/_models/blip/torch/models/vit.py
RENAMED
|
File without changes
|