You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The intention behind this code was to enable changing the cache directory via the SAM_MODELS environment variable. But this is not documented anywhere so we can change it.
My suggestion would be that we introduce a new environment variable MICRO_SAM_CACHE instead that defaults to $HOME/.cache/micro_sam. We should keep the option to set a different cache path for systems where the storage in $HOME is limited (e.g. computer clusters).
We currently use different cache directories for saving the models vs. saving the sample image data.
$HOME/.sam_models
.$HOME/.cache/micro-sam
It would be good to be consistent here and I think
$HOME/.cache/micro_sam
is a good choice. For the models we could use$HOME/.cache/micro_sam/models
.What do you think @GenevieveBuckley ?
The text was updated successfully, but these errors were encountered: