wxywb
3 years ago
4 changed files with 47 additions and 18 deletions
@ -1 +1,22 @@ |
|||||
from .clip import * |
|
||||
|
# Copyright 2021 Zilliz. All rights reserved. |
||||
|
# |
||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
|
# you may not use this file except in compliance with the License. |
||||
|
# You may obtain a copy of the License at |
||||
|
# |
||||
|
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
|
# |
||||
|
# Unless required by applicable law or agreed to in writing, software |
||||
|
# distributed under the License is distributed on an "AS IS" BASIS, |
||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
|
# See the License for the specific language governing permissions and |
||||
|
# limitations under the License. |
||||
|
|
||||
|
from .clip import Clip |
||||
|
|
||||
|
def dolg(img_size=512, input_dim=3, hidden_dim=1024, output_dim=2048): |
||||
|
return Dolg(img_size, input_dim, hidden_dim, output_dim) |
||||
|
|
||||
|
|
||||
|
def clip(name: str, modality: str): |
||||
|
return Clip(name, modality) |
||||
|
Loading…
Reference in new issue