[BUFG][TimmModel]

pull/362/head
Kye 12 months ago
parent 1a3b16a71a
commit bb4b55dcfd

@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry] [tool.poetry]
name = "swarms" name = "swarms"
version = "3.6.6" version = "3.6.7"
description = "Swarms - Pytorch" description = "Swarms - Pytorch"
license = "MIT" license = "MIT"
authors = ["Kye Gomez <kye@apac.ai>"] authors = ["Kye Gomez <kye@apac.ai>"]

@ -48,7 +48,7 @@ class TimmModel(BaseMultiModalModel):
Returns: Returns:
The shape of the output from the model. The shape of the output from the model.
""" """
model = timm.create_model(self.model, *args, **kwargs) model = timm.create_model(self.model_name, *args, **kwargs)
return model(task) return model(task)
def list_models(self): def list_models(self):

Loading…
Cancel
Save