logo
Browse Source

Update init

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
test
Jael Gu 2 years ago
parent
commit
a872a6283f
  1. 4
      __init__.py

4
__init__.py

@ -15,5 +15,5 @@
from .timm_image import TimmImage
def timm():
return TimmImage()
def timm(model_name: str, num_classes: int=1000):
return TimmImage(model_name=model_name, num_classes=num_classes)

Loading…
Cancel
Save