hi-ml icon indicating copy to clipboard operation
hi-ml copied to clipboard

Please fix "pip install hi-ml-multimodal" or use my fork for a working version

Open NamanSharma5 opened this issue 1 year ago • 4 comments

NamanSharma5 avatar Jan 19 '24 16:01 NamanSharma5

Hi @Shruthi42, @corcra and the wider BioViL-T team. Thank you for open sourcing this repo and the corresponding weights for the BioVil-T model!

Unfortunately your Python package "hi-ml-multimodal 0.2.1" on the Python Package Index has an issue when being installed.

This is because of the use of non-existent versions of dependencies, namely SimpleITK=2.1.1 and the use of deprecated functions, specifically torch_int_div from transformers==4.17.0 and model_urls from torchvision.models.resnet in torchvision==0.12.0.

NamanSharma5 avatar Jan 19 '24 17:01 NamanSharma5

As a temporary fix, I have setup a fork with an updated requirements.txt containing an older version of the torchvision and transformers to support the Hi-Ml-Multimodal codebase - this can be viewed on my GitHub,

NamanSharma5 avatar Jan 19 '24 17:01 NamanSharma5

I've added a temporary fix to mitigate the Torchvision issue in my repo too!

NamanSharma5 avatar Jan 19 '24 18:01 NamanSharma5

still not fixed yet, the problem of pip install hi-ml-multimodal still here, can you please fix it

yunyiliu avatar Mar 18 '24 11:03 yunyiliu

Things should work after this is merged:

  • https://github.com/microsoft/hi-ml/pull/928/

fepegar avatar Apr 10 '24 16:04 fepegar