Граф коммитов

3 Коммитов

Автор SHA1 Сообщение Дата
Peter Hessey 6f0cff82d6 ♻️ Style and fix mypy 2023-03-23 15:06:19 +00:00
Ozan Oktay 82342cac33
ENH: Consume BioViL-T Pretrained Models in Inference Engines (#845)
- Implements helper functions to load BioViL-T text and image models.
- Updates the text and image inference engines to consume Biovil-T
models.
- Updates the grounding notebook with the new model and showing improved
results.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Fernando Pérez-García <fepegar@gmail.com>
Co-authored-by: Fernando Pérez-García <fperezgarcia@microsoft.com>
2023-03-22 17:37:11 +00:00
Fernando Pérez-García bdbbf3e812
ENH: Add hubconf to load models without installing (#543)
* Add hubconf file

* Refactor to minimise hubconf dependencies

* Pin hubconf dependencies

* Revert "Pin hubconf dependencies"

This reverts commit bc904a963e as it
didn't seem to work.

* Add support for newer versions of torch

* Add only the model folder to path

* Remove unnecessary try-except block

* Avoid duplicate definition of Hugging Face strings

* Import from a more appropriate module

* Add test to compare package and PyTorch Hub models

* Add version number to package __init__

* Remove branch name from PyTorch Hub repo string

* Check only fields from package model

* Remove unnecessary zip wrap

Co-authored-by: Shruthi42 <13177030+Shruthi42@users.noreply.github.com>

Co-authored-by: Shruthi42 <13177030+Shruthi42@users.noreply.github.com>
2022-08-04 10:22:54 +01:00