wenmeng.zwm 3 years ago
parent
commit
9b6e709d3e
23 changed files with 23 additions and 3 deletions
  1. +1
    -1
      modelscope/models/multi_modal/mmr/models/clip_for_mm_video_embedding.py
  2. +1
    -1
      modelscope/models/multi_modal/mmr/models/dynamic_inverted_softmax.py
  3. +1
    -1
      modelscope/models/multi_modal/mmr/models/tokenization_clip.py
  4. +1
    -0
      modelscope/pipelines/audio/asr_inference_pipeline.py
  5. +1
    -0
      modelscope/pipelines/audio/kws_kwsbp_pipeline.py
  6. +1
    -0
      modelscope/pipelines/cv/crowd_counting_pipeline.py
  7. +1
    -0
      modelscope/pipelines/cv/face_image_generation_pipeline.py
  8. +1
    -0
      modelscope/pipelines/cv/hicossl_video_embedding_pipeline.py
  9. +1
    -0
      modelscope/pipelines/cv/image_color_enhance_pipeline.py
  10. +1
    -0
      modelscope/pipelines/cv/image_colorization_pipeline.py
  11. +1
    -0
      modelscope/pipelines/cv/image_denoise_pipeline.py
  12. +1
    -0
      modelscope/pipelines/cv/image_matting_pipeline.py
  13. +1
    -0
      modelscope/pipelines/cv/image_portrait_enhancement_pipeline.py
  14. +1
    -0
      modelscope/pipelines/cv/image_super_resolution_pipeline.py
  15. +1
    -0
      modelscope/pipelines/cv/image_to_image_generate_pipeline.py
  16. +1
    -0
      modelscope/pipelines/cv/image_to_image_translation_pipeline.py
  17. +1
    -0
      modelscope/pipelines/cv/ocr_detection_pipeline.py
  18. +1
    -0
      modelscope/pipelines/cv/ocr_recognition_pipeline.py
  19. +1
    -0
      modelscope/pipelines/cv/product_retrieval_embedding_pipeline.py
  20. +1
    -0
      modelscope/pipelines/cv/video_summarization_pipeline.py
  21. +1
    -0
      modelscope/pipelines/nlp/feature_extraction_pipeline.py
  22. +1
    -0
      modelscope/pipelines/nlp/sequence_classification_pipeline.py
  23. +1
    -0
      modelscope/pipelines/nlp/text2text_generation_pipeline.py

+ 1
- 1
modelscope/models/multi_modal/mmr/models/clip_for_mm_video_embedding.py View File

@@ -1,4 +1,4 @@
# The implementation is adopated from the CLIP4Clip implementation,
# The implementation is adopted from the CLIP4Clip implementation,
# made pubicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip

import random


+ 1
- 1
modelscope/models/multi_modal/mmr/models/dynamic_inverted_softmax.py View File

@@ -1,4 +1,4 @@
# The implementation is adopated from the CLIP4Clip implementation,
# The implementation is adopted from the CLIP4Clip implementation,
# made pubicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip

import numpy as np


+ 1
- 1
modelscope/models/multi_modal/mmr/models/tokenization_clip.py View File

@@ -1,4 +1,4 @@
# The implementation is adopated from the CLIP4Clip implementation,
# The implementation is adopted from the CLIP4Clip implementation,
# made pubicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip

import gzip


+ 1
- 0
modelscope/pipelines/audio/asr_inference_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
from typing import Any, Dict, List, Sequence, Tuple, Union

import yaml


+ 1
- 0
modelscope/pipelines/audio/kws_kwsbp_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
import os
from typing import Any, Dict, List, Union



+ 1
- 0
modelscope/pipelines/cv/crowd_counting_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
import math
from typing import Any, Dict



+ 1
- 0
modelscope/pipelines/cv/face_image_generation_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
import os
from typing import Any, Dict



+ 1
- 0
modelscope/pipelines/cv/hicossl_video_embedding_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
import math
import os.path as osp
from typing import Any, Dict


+ 1
- 0
modelscope/pipelines/cv/image_color_enhance_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
from typing import Any, Dict, Optional, Union

import torch


+ 1
- 0
modelscope/pipelines/cv/image_colorization_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
from typing import Any, Dict

import cv2


+ 1
- 0
modelscope/pipelines/cv/image_denoise_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
from typing import Any, Dict, Optional, Union

import torch


+ 1
- 0
modelscope/pipelines/cv/image_matting_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
import os.path as osp
from typing import Any, Dict



+ 1
- 0
modelscope/pipelines/cv/image_portrait_enhancement_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
import math
from typing import Any, Dict



+ 1
- 0
modelscope/pipelines/cv/image_super_resolution_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
from typing import Any, Dict

import cv2


+ 1
- 0
modelscope/pipelines/cv/image_to_image_generate_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
import os.path as osp
from typing import Any, Dict



+ 1
- 0
modelscope/pipelines/cv/image_to_image_translation_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
import io
import os.path as osp
import sys


+ 1
- 0
modelscope/pipelines/cv/ocr_detection_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
import os.path as osp
from typing import Any, Dict



+ 1
- 0
modelscope/pipelines/cv/ocr_recognition_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
import math
import os.path as osp
from typing import Any, Dict


+ 1
- 0
modelscope/pipelines/cv/product_retrieval_embedding_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
import os.path as osp
from typing import Any, Dict



+ 1
- 0
modelscope/pipelines/cv/video_summarization_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
import os.path as osp
from typing import Any, Dict



+ 1
- 0
modelscope/pipelines/nlp/feature_extraction_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
import os
from typing import Any, Dict, Optional, Union



+ 1
- 0
modelscope/pipelines/nlp/sequence_classification_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
from typing import Any, Dict, Union

import numpy as np


+ 1
- 0
modelscope/pipelines/nlp/text2text_generation_pipeline.py View File

@@ -1,3 +1,4 @@
# Copyright (c) Alibaba, Inc. and its affiliates.
from typing import Any, Dict, Optional, Union

import torch


Loading…
Cancel
Save