ersilia-os / ersilia

The Ersilia Model Hub, a repository of AI/ML models for infectious and neglected disease research.
https://ersilia.io
GNU General Public License v3.0
224 stars 148 forks source link

🐛 Bug: Loop when fetching eos4e41 model #454

Closed natividadesusana closed 2 years ago

natividadesusana commented 2 years ago

Describe the bug.

The search for the eos4e41 model took about 1 hour 20 mins, with the same information appearing in an infinite loop as shown in the first attached photo.

In the end the following error:

Traceback (most recent call last):
TypeError: 'NoneType' object is not subscriptable

Describe the steps to reproduce the behavior

  1. ersilia -v fetch eos4e41 then loop and error

Expected behavior.

Find the model to serve.

Screenshots.

Loop for 1 hour and 20 minutes:

Screenshot 2022-10-26 at 13 51 13

Final error:

Screenshot 2022-10-26 at 13 28 20

Error log: error.log

Operating environment

MacOS, Intel Core i5

Additional context

All Ersilia Model Hub installation successfully completed!

natividadesusana commented 2 years ago

Then I try to test to serve the model and a new loop starts for another 1 hour:

error.log

I also tried to make a prediction and even though I tried to serve the model, the message was the following:

unnamed

GemmaTuron commented 2 years ago

Hi @natividadesusana

If a model is not fetched correctly it does not mke sense to serve or predict as the model is not in your computer. This error seems to be due to incorrect ersilia configuration. have you successfully run other models?

natividadesusana commented 2 years ago

Hi @GemmaTuron, Thanks! How strange, everything is installed correctly and I searched according to the ersilia model hub documentation. But today I did a new search on the same in the model and everything seems to have worked well. I leave the log here for verification.

model-eos4e41.log