From aaedf051813ff3428aae96c443905727e6b69024 Mon Sep 17 00:00:00 2001 From: co63oc Date: Wed, 21 Feb 2024 14:24:24 +0800 Subject: [PATCH] Fix word pubicly -> publicly (#748) --- modelscope/models/cv/action_recognition/s3dg.py | 2 +- modelscope/models/cv/action_recognition/tada_convnext.py | 2 +- modelscope/models/cv/animal_recognition/resnet.py | 2 +- modelscope/models/cv/animal_recognition/splat.py | 2 +- .../models/cv/face_recognition/torchkit/backbone/__init__.py | 2 +- .../cv/face_recognition/torchkit/backbone/arcface_backbone.py | 2 +- .../models/cv/face_recognition/torchkit/backbone/common.py | 2 +- .../cv/face_recognition/torchkit/backbone/facemask_backbone.py | 2 +- .../models/cv/face_recognition/torchkit/backbone/model_irse.py | 2 +- .../cv/face_recognition/torchkit/backbone/model_resnet.py | 2 +- .../cv/image_portrait_enhancement/retinaface/models/net.py | 2 +- .../image_portrait_enhancement/retinaface/models/retinaface.py | 2 +- modelscope/models/cv/image_probing_model/backbone.py | 2 +- modelscope/models/cv/image_quality_assessment_man/maniqa.py | 2 +- modelscope/models/cv/image_quality_assessment_man/swin.py | 2 +- .../models/cv/image_quality_assessment_mos/backbones/resnet.py | 2 +- .../models/cv/image_quality_assessment_mos/censeo_ivqa_model.py | 2 +- modelscope/models/cv/image_reid_person/pass_model.py | 2 +- modelscope/models/cv/image_reid_person/transreid_model.py | 2 +- modelscope/models/multi_modal/clip_interrogator/model.py | 2 +- .../multi_modal/efficient_diffusion_tuning/control_sd_lora.py | 2 +- .../efficient_diffusion_tuning/efficient_stable_diffusion.py | 2 +- .../models/multi_modal/efficient_diffusion_tuning/sd_lora.py | 2 +- modelscope/models/multi_modal/mmr/dataloaders/rawvideo_util.py | 2 +- .../multi_modal/mmr/models/clip_for_mm_video_embedding.py | 2 +- .../models/multi_modal/mmr/models/dynamic_inverted_softmax.py | 2 +- modelscope/models/multi_modal/mmr/models/module_clip.py | 2 +- modelscope/models/multi_modal/mmr/models/module_cross.py | 2 +- modelscope/models/multi_modal/mmr/models/tokenization_clip.py | 2 +- .../models/multi_modal/prost/dataloaders/rawvideo_util.py | 2 +- modelscope/models/multi_modal/prost/models/module_clip.py | 2 +- modelscope/models/multi_modal/prost/models/prost_model.py | 2 +- modelscope/models/multi_modal/prost/models/tokenization_clip.py | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/modelscope/models/cv/action_recognition/s3dg.py b/modelscope/models/cv/action_recognition/s3dg.py index 46e76892..3246af77 100644 --- a/modelscope/models/cv/action_recognition/s3dg.py +++ b/modelscope/models/cv/action_recognition/s3dg.py @@ -1,5 +1,5 @@ # The implementation is adopted from https://github.com/TengdaHan/CoCLR, -# made pubicly available under the Apache License, Version 2.0 at https://github.com/TengdaHan/CoCLR +# made publicly available under the Apache License, Version 2.0 at https://github.com/TengdaHan/CoCLR # Copyright 2021-2022 The Alibaba FVI Team Authors. All rights reserved. import torch import torch.nn as nn diff --git a/modelscope/models/cv/action_recognition/tada_convnext.py b/modelscope/models/cv/action_recognition/tada_convnext.py index b1de7af8..cf973825 100644 --- a/modelscope/models/cv/action_recognition/tada_convnext.py +++ b/modelscope/models/cv/action_recognition/tada_convnext.py @@ -1,5 +1,5 @@ # The implementation is adopted from https://github.com/facebookresearch/ConvNeXt, -# made pubicly available under the MIT License at https://github.com/facebookresearch/ConvNeXt +# made publicly available under the MIT License at https://github.com/facebookresearch/ConvNeXt # Copyright 2021-2022 The Alibaba FVI Team Authors. All rights reserved. import math diff --git a/modelscope/models/cv/animal_recognition/resnet.py b/modelscope/models/cv/animal_recognition/resnet.py index d7c03c29..44e44722 100644 --- a/modelscope/models/cv/animal_recognition/resnet.py +++ b/modelscope/models/cv/animal_recognition/resnet.py @@ -1,5 +1,5 @@ # The implementation is adopted from Split-Attention Network, A New ResNet Variant, -# made pubicly available under the Apache License 2.0 License +# made publicly available under the Apache License 2.0 License # at https://github.com/zhanghang1989/ResNeSt/blob/master/resnest/torch/models/resnet.py import math diff --git a/modelscope/models/cv/animal_recognition/splat.py b/modelscope/models/cv/animal_recognition/splat.py index a10d0abe..09d65b6d 100644 --- a/modelscope/models/cv/animal_recognition/splat.py +++ b/modelscope/models/cv/animal_recognition/splat.py @@ -1,5 +1,5 @@ # The implementation is adopted from Split-Attention Network, A New ResNet Variant, -# made pubicly available under the Apache License 2.0 License +# made publicly available under the Apache License 2.0 License # at https://github.com/zhanghang1989/ResNeSt/blob/master/resnest/torch/models/splat.py """Split-Attention""" diff --git a/modelscope/models/cv/face_recognition/torchkit/backbone/__init__.py b/modelscope/models/cv/face_recognition/torchkit/backbone/__init__.py index afe89963..b8c0eeb5 100755 --- a/modelscope/models/cv/face_recognition/torchkit/backbone/__init__.py +++ b/modelscope/models/cv/face_recognition/torchkit/backbone/__init__.py @@ -1,4 +1,4 @@ -# The implementation is adopted from TFace,made pubicly available under the Apache-2.0 license at +# The implementation is adopted from TFace,made publicly available under the Apache-2.0 license at # https://github.com/Tencent/TFace/blob/master/recognition/torchkit/backbone from .model_irse import (IR_18, IR_34, IR_50, IR_101, IR_152, IR_200, IR_SE_50, IR_SE_101, IR_SE_152, IR_SE_200) diff --git a/modelscope/models/cv/face_recognition/torchkit/backbone/arcface_backbone.py b/modelscope/models/cv/face_recognition/torchkit/backbone/arcface_backbone.py index 25b9fe33..ed0f41f8 100644 --- a/modelscope/models/cv/face_recognition/torchkit/backbone/arcface_backbone.py +++ b/modelscope/models/cv/face_recognition/torchkit/backbone/arcface_backbone.py @@ -1,4 +1,4 @@ -# The implementation is adopted from TFace,made pubicly available under the Apache-2.0 license at +# The implementation is adopted from TFace,made publicly available under the Apache-2.0 license at # https://github.com/deepinsight/insightface/blob/master/recognition/arcface_torch/backbones/iresnet.py import torch from torch import nn diff --git a/modelscope/models/cv/face_recognition/torchkit/backbone/common.py b/modelscope/models/cv/face_recognition/torchkit/backbone/common.py index a1683225..bdbf2588 100755 --- a/modelscope/models/cv/face_recognition/torchkit/backbone/common.py +++ b/modelscope/models/cv/face_recognition/torchkit/backbone/common.py @@ -1,4 +1,4 @@ -# The implementation is adopted from TFace,made pubicly available under the Apache-2.0 license at +# The implementation is adopted from TFace,made publicly available under the Apache-2.0 license at # https://github.com/Tencent/TFace/blob/master/recognition/torchkit/backbone/common.py import torch import torch.nn as nn diff --git a/modelscope/models/cv/face_recognition/torchkit/backbone/facemask_backbone.py b/modelscope/models/cv/face_recognition/torchkit/backbone/facemask_backbone.py index c9e01367..d049ea42 100644 --- a/modelscope/models/cv/face_recognition/torchkit/backbone/facemask_backbone.py +++ b/modelscope/models/cv/face_recognition/torchkit/backbone/facemask_backbone.py @@ -1,4 +1,4 @@ -# The implementation is adopted from InsightFace, made pubicly available under the Apache-2.0 license at +# The implementation is adopted from InsightFace, made publicly available under the Apache-2.0 license at # https://github.com/TreB1eN/InsightFace_Pytorch/blob/master/model.py from collections import namedtuple diff --git a/modelscope/models/cv/face_recognition/torchkit/backbone/model_irse.py b/modelscope/models/cv/face_recognition/torchkit/backbone/model_irse.py index 1982ca05..8e9f5f53 100755 --- a/modelscope/models/cv/face_recognition/torchkit/backbone/model_irse.py +++ b/modelscope/models/cv/face_recognition/torchkit/backbone/model_irse.py @@ -1,4 +1,4 @@ -# The implementation is adopted from TFace,made pubicly available under the Apache-2.0 license at +# The implementation is adopted from TFace,made publicly available under the Apache-2.0 license at # https://github.com/Tencent/TFace/blob/master/recognition/torchkit/backbone/model_irse.py from collections import namedtuple diff --git a/modelscope/models/cv/face_recognition/torchkit/backbone/model_resnet.py b/modelscope/models/cv/face_recognition/torchkit/backbone/model_resnet.py index 568e24ff..479e7dd4 100755 --- a/modelscope/models/cv/face_recognition/torchkit/backbone/model_resnet.py +++ b/modelscope/models/cv/face_recognition/torchkit/backbone/model_resnet.py @@ -1,4 +1,4 @@ -# The implementation is adopted from TFace,made pubicly available under the Apache-2.0 license at +# The implementation is adopted from TFace,made publicly available under the Apache-2.0 license at # https://github.com/Tencent/TFace/blob/master/recognition/torchkit/backbone/model_resnet.py import torch.nn as nn from torch.nn import (BatchNorm1d, BatchNorm2d, Conv2d, Dropout, Linear, diff --git a/modelscope/models/cv/image_portrait_enhancement/retinaface/models/net.py b/modelscope/models/cv/image_portrait_enhancement/retinaface/models/net.py index 24451e96..8bbc8058 100755 --- a/modelscope/models/cv/image_portrait_enhancement/retinaface/models/net.py +++ b/modelscope/models/cv/image_portrait_enhancement/retinaface/models/net.py @@ -1,4 +1,4 @@ -# The implementation is adopted from Pytorch_Retinaface, made pubicly available under the MIT License +# The implementation is adopted from Pytorch_Retinaface, made publicly available under the MIT License # at https://github.com/biubug6/Pytorch_Retinaface/tree/master/models/net.py import time diff --git a/modelscope/models/cv/image_portrait_enhancement/retinaface/models/retinaface.py b/modelscope/models/cv/image_portrait_enhancement/retinaface/models/retinaface.py index 64d95971..8f39db78 100755 --- a/modelscope/models/cv/image_portrait_enhancement/retinaface/models/retinaface.py +++ b/modelscope/models/cv/image_portrait_enhancement/retinaface/models/retinaface.py @@ -1,4 +1,4 @@ -# The implementation is adopted from Pytorch_Retinaface, made pubicly available under the MIT License +# The implementation is adopted from Pytorch_Retinaface, made publicly available under the MIT License # at https://github.com/biubug6/Pytorch_Retinaface/tree/master/models/retinaface.py from collections import OrderedDict diff --git a/modelscope/models/cv/image_probing_model/backbone.py b/modelscope/models/cv/image_probing_model/backbone.py index 8f3ed5b6..64fb37b3 100644 --- a/modelscope/models/cv/image_probing_model/backbone.py +++ b/modelscope/models/cv/image_probing_model/backbone.py @@ -1,5 +1,5 @@ # The implementation is adopted from OpenAI-CLIP, -# made pubicly available under the MIT License at https://github.com/openai/CLIP +# made publicly available under the MIT License at https://github.com/openai/CLIP import math import sys diff --git a/modelscope/models/cv/image_quality_assessment_man/maniqa.py b/modelscope/models/cv/image_quality_assessment_man/maniqa.py index 8c924309..eb037941 100644 --- a/modelscope/models/cv/image_quality_assessment_man/maniqa.py +++ b/modelscope/models/cv/image_quality_assessment_man/maniqa.py @@ -1,4 +1,4 @@ -# This implementation is adopted from MANIQA, made pubicly available under the Apache License 2.0 at +# This implementation is adopted from MANIQA, made publicly available under the Apache License 2.0 at # https://github.com/IIGROUP/MANIQA/blob/master/models/maniqa.py import timm diff --git a/modelscope/models/cv/image_quality_assessment_man/swin.py b/modelscope/models/cv/image_quality_assessment_man/swin.py index df58277f..e77488c0 100644 --- a/modelscope/models/cv/image_quality_assessment_man/swin.py +++ b/modelscope/models/cv/image_quality_assessment_man/swin.py @@ -1,4 +1,4 @@ -# This implementation is adopted form SwinTransformer, made pubicly available under the MIT License at +# This implementation is adopted form SwinTransformer, made publicly available under the MIT License at # https://github.com/microsoft/Swin-Transformer/blob/main/models/swin_transformer.py import collections.abc diff --git a/modelscope/models/cv/image_quality_assessment_mos/backbones/resnet.py b/modelscope/models/cv/image_quality_assessment_mos/backbones/resnet.py index e153e5f9..9282005e 100644 --- a/modelscope/models/cv/image_quality_assessment_mos/backbones/resnet.py +++ b/modelscope/models/cv/image_quality_assessment_mos/backbones/resnet.py @@ -1,4 +1,4 @@ -# The implementation is adopted from CenseoQoE, made pubicly available under the MIT License at +# The implementation is adopted from CenseoQoE, made publicly available under the MIT License at # https://github.com/Tencent/CenseoQoE import os diff --git a/modelscope/models/cv/image_quality_assessment_mos/censeo_ivqa_model.py b/modelscope/models/cv/image_quality_assessment_mos/censeo_ivqa_model.py index fbe40e6a..f5710bc5 100644 --- a/modelscope/models/cv/image_quality_assessment_mos/censeo_ivqa_model.py +++ b/modelscope/models/cv/image_quality_assessment_mos/censeo_ivqa_model.py @@ -1,4 +1,4 @@ -# The implementation is adopted from CenseoQoE, made pubicly available under the MIT License at +# The implementation is adopted from CenseoQoE, made publicly available under the MIT License at # https://github.com/Tencent/CenseoQoE import torch diff --git a/modelscope/models/cv/image_reid_person/pass_model.py b/modelscope/models/cv/image_reid_person/pass_model.py index 3b032949..87c43340 100644 --- a/modelscope/models/cv/image_reid_person/pass_model.py +++ b/modelscope/models/cv/image_reid_person/pass_model.py @@ -1,4 +1,4 @@ -# The implementation is adopted from PASS-reID, made pubicly available under the Apache-2.0 License at +# The implementation is adopted from PASS-reID, made publicly available under the Apache-2.0 License at # https://github.com/CASIA-IVA-Lab/PASS-reID import os diff --git a/modelscope/models/cv/image_reid_person/transreid_model.py b/modelscope/models/cv/image_reid_person/transreid_model.py index 5bceb468..924c5897 100644 --- a/modelscope/models/cv/image_reid_person/transreid_model.py +++ b/modelscope/models/cv/image_reid_person/transreid_model.py @@ -1,4 +1,4 @@ -# The implementation is adopted from PASS-reID, made pubicly available under the Apache-2.0 License at +# The implementation is adopted from PASS-reID, made publicly available under the Apache-2.0 License at # https://github.com/CASIA-IVA-Lab/PASS-reID import collections.abc as container_abcs diff --git a/modelscope/models/multi_modal/clip_interrogator/model.py b/modelscope/models/multi_modal/clip_interrogator/model.py index a7e27cbd..c04d7a9b 100644 --- a/modelscope/models/multi_modal/clip_interrogator/model.py +++ b/modelscope/models/multi_modal/clip_interrogator/model.py @@ -1,4 +1,4 @@ -# This implementation is adopted from CLIP-Interrogator, made pubicly available under the MIT License at +# This implementation is adopted from CLIP-Interrogator, made publicly available under the MIT License at # https://github.com/pharmapsychotic/clip-interrogator/blob/main/clip_interrogator/clip_interrogator.py import hashlib diff --git a/modelscope/models/multi_modal/efficient_diffusion_tuning/control_sd_lora.py b/modelscope/models/multi_modal/efficient_diffusion_tuning/control_sd_lora.py index aaa588d3..091aeca5 100644 --- a/modelscope/models/multi_modal/efficient_diffusion_tuning/control_sd_lora.py +++ b/modelscope/models/multi_modal/efficient_diffusion_tuning/control_sd_lora.py @@ -1,6 +1,6 @@ # Copyright 2023-2024 The Alibaba Fundamental Vision Team Authors. All rights reserved. # The implementation is adopted from HighCWu, -# made pubicly available under the Apache License 2.0 License at https://github.com/HighCWu/ControlLoRA +# made publicly available under the Apache License 2.0 License at https://github.com/HighCWu/ControlLoRA import os from dataclasses import dataclass diff --git a/modelscope/models/multi_modal/efficient_diffusion_tuning/efficient_stable_diffusion.py b/modelscope/models/multi_modal/efficient_diffusion_tuning/efficient_stable_diffusion.py index 79ac2c33..688378fc 100644 --- a/modelscope/models/multi_modal/efficient_diffusion_tuning/efficient_stable_diffusion.py +++ b/modelscope/models/multi_modal/efficient_diffusion_tuning/efficient_stable_diffusion.py @@ -1,6 +1,6 @@ # Copyright 2023-2024 The Alibaba Fundamental Vision Team Authors. All rights reserved. # The implementation is adopted from HighCWu, -# made pubicly available under the Apache License 2.0 License at https://github.com/HighCWu/ControlLoRA +# made publicly available under the Apache License 2.0 License at https://github.com/HighCWu/ControlLoRA import os import os.path as osp from functools import partial diff --git a/modelscope/models/multi_modal/efficient_diffusion_tuning/sd_lora.py b/modelscope/models/multi_modal/efficient_diffusion_tuning/sd_lora.py index 306ca2b0..8abd9735 100644 --- a/modelscope/models/multi_modal/efficient_diffusion_tuning/sd_lora.py +++ b/modelscope/models/multi_modal/efficient_diffusion_tuning/sd_lora.py @@ -1,6 +1,6 @@ # Copyright 2023-2024 The Alibaba Fundamental Vision Team Authors. All rights reserved. # The implementation is adopted from HighCWu, -# made pubicly available under the Apache License 2.0 License at https://github.com/HighCWu/ControlLoRA +# made publicly available under the Apache License 2.0 License at https://github.com/HighCWu/ControlLoRA import os from dataclasses import dataclass from typing import List, Tuple, Union diff --git a/modelscope/models/multi_modal/mmr/dataloaders/rawvideo_util.py b/modelscope/models/multi_modal/mmr/dataloaders/rawvideo_util.py index c7ac3f94..d80c6f80 100644 --- a/modelscope/models/multi_modal/mmr/dataloaders/rawvideo_util.py +++ b/modelscope/models/multi_modal/mmr/dataloaders/rawvideo_util.py @@ -1,5 +1,5 @@ # The implementation is adopted from Huaishao Luo, -# made pubicly available under the MIT License at https://github.com/ArrowLuo/CLIP4Clip +# made publicly available under the MIT License at https://github.com/ArrowLuo/CLIP4Clip import cv2 import numpy as np diff --git a/modelscope/models/multi_modal/mmr/models/clip_for_mm_video_embedding.py b/modelscope/models/multi_modal/mmr/models/clip_for_mm_video_embedding.py index 743c049a..6a54f0a5 100644 --- a/modelscope/models/multi_modal/mmr/models/clip_for_mm_video_embedding.py +++ b/modelscope/models/multi_modal/mmr/models/clip_for_mm_video_embedding.py @@ -1,5 +1,5 @@ # The implementation is adopted from the CLIP4Clip implementation, -# made pubicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip +# made publicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip import os import random diff --git a/modelscope/models/multi_modal/mmr/models/dynamic_inverted_softmax.py b/modelscope/models/multi_modal/mmr/models/dynamic_inverted_softmax.py index c2d96275..48733de4 100644 --- a/modelscope/models/multi_modal/mmr/models/dynamic_inverted_softmax.py +++ b/modelscope/models/multi_modal/mmr/models/dynamic_inverted_softmax.py @@ -1,5 +1,5 @@ # The implementation is adopted from the CLIP4Clip implementation, -# made pubicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip +# made publicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip import numpy as np diff --git a/modelscope/models/multi_modal/mmr/models/module_clip.py b/modelscope/models/multi_modal/mmr/models/module_clip.py index 53501720..479ebfb3 100644 --- a/modelscope/models/multi_modal/mmr/models/module_clip.py +++ b/modelscope/models/multi_modal/mmr/models/module_clip.py @@ -1,5 +1,5 @@ # The implementation is adopated from the CLIP4Clip implementation, -# made pubicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip +# made publicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip import hashlib import os diff --git a/modelscope/models/multi_modal/mmr/models/module_cross.py b/modelscope/models/multi_modal/mmr/models/module_cross.py index b958d5bc..f4327f8c 100644 --- a/modelscope/models/multi_modal/mmr/models/module_cross.py +++ b/modelscope/models/multi_modal/mmr/models/module_cross.py @@ -1,5 +1,5 @@ # The implementation is adopated from the CLIP4Clip implementation, -# made pubicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip +# made publicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip from __future__ import absolute_import, division, print_function import logging diff --git a/modelscope/models/multi_modal/mmr/models/tokenization_clip.py b/modelscope/models/multi_modal/mmr/models/tokenization_clip.py index 97ee7156..5dc5ff6d 100644 --- a/modelscope/models/multi_modal/mmr/models/tokenization_clip.py +++ b/modelscope/models/multi_modal/mmr/models/tokenization_clip.py @@ -1,5 +1,5 @@ # The implementation is adopted from the CLIP4Clip implementation, -# made pubicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip +# made publicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip import gzip import html diff --git a/modelscope/models/multi_modal/prost/dataloaders/rawvideo_util.py b/modelscope/models/multi_modal/prost/dataloaders/rawvideo_util.py index c7ac3f94..d80c6f80 100644 --- a/modelscope/models/multi_modal/prost/dataloaders/rawvideo_util.py +++ b/modelscope/models/multi_modal/prost/dataloaders/rawvideo_util.py @@ -1,5 +1,5 @@ # The implementation is adopted from Huaishao Luo, -# made pubicly available under the MIT License at https://github.com/ArrowLuo/CLIP4Clip +# made publicly available under the MIT License at https://github.com/ArrowLuo/CLIP4Clip import cv2 import numpy as np diff --git a/modelscope/models/multi_modal/prost/models/module_clip.py b/modelscope/models/multi_modal/prost/models/module_clip.py index c5aaa1e5..b340822c 100644 --- a/modelscope/models/multi_modal/prost/models/module_clip.py +++ b/modelscope/models/multi_modal/prost/models/module_clip.py @@ -1,5 +1,5 @@ # The implementation is adopated from the CLIP4Clip implementation, -# made pubicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip +# made publicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip import hashlib import os diff --git a/modelscope/models/multi_modal/prost/models/prost_model.py b/modelscope/models/multi_modal/prost/models/prost_model.py index 022903cb..f3b5947b 100644 --- a/modelscope/models/multi_modal/prost/models/prost_model.py +++ b/modelscope/models/multi_modal/prost/models/prost_model.py @@ -1,5 +1,5 @@ # The implementation is adopted from the CLIP4Clip implementation, -# made pubicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip +# made publicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip import os import random diff --git a/modelscope/models/multi_modal/prost/models/tokenization_clip.py b/modelscope/models/multi_modal/prost/models/tokenization_clip.py index 97ee7156..5dc5ff6d 100644 --- a/modelscope/models/multi_modal/prost/models/tokenization_clip.py +++ b/modelscope/models/multi_modal/prost/models/tokenization_clip.py @@ -1,5 +1,5 @@ # The implementation is adopted from the CLIP4Clip implementation, -# made pubicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip +# made publicly available under Apache License, Version 2.0 at https://github.com/ArrowLuo/CLIP4Clip import gzip import html