Update hub.py

fixed import of _hub modules
This commit is contained in:
Philip Keller 2023-05-12 21:48:46 +02:00 committed by GitHub
parent cc77096350
commit fc77e9ecc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
from _hub import *
from ._hub import *
import warnings
warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.models", DeprecationWarning)