Skip to content

[BUG] Reinstallation of models does not work as expected #253

@edwardchalstrey1

Description

@edwardchalstrey1

Describe the bug

Previous attempts #223 & #249 have not resulted in expected behaviour.

How To Reproduce

First, install a model from scivision catalog, where model_repo is the link to. the pip installable GitHub repo.

load_pretrained_model(model_repo)

Then, modify the code in the model_repo, push changes to GitHub and reinstall in scivision:

load_pretrained_model(model_repo, allow_install="force")

Expected behaviour

Changes made to the model code should be present when the model is used after reinstallation.

Currently, you have to manually do pip uninstall model_package_name and then re-run load_pretrained_model for changes to be picked up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions