We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0685dd commit 6620770Copy full SHA for 6620770
hubconf.py
@@ -1,10 +1,4 @@
1
dependencies = ['torch']
2
-
3
from timm.models import registry
4
5
-current_module = __import__(__name__)
6
-current_module.__dict__.update(registry._model_entrypoints)
7
-#for fn_name in registry.list_models():
8
-# fn = registry.model_entrypoint(fn_name)
9
-# setattr(current_module, fn_name, fn)
10
+globals().update(registry._model_entrypoints)
0 commit comments