diff --git a/modules/autohibernate.sh b/modules/autohibernate.sh index e874d97..0a3a4ab 100644 --- a/modules/autohibernate.sh +++ b/modules/autohibernate.sh @@ -20,6 +20,7 @@ sudo tee /usr/bin/autohibernate < "$HOME/conda/envs/msc/etc/conda/activate.d/env_vars.sh" + +# We want to trigger a download of EfficientNet weights +~/conda/bin/conda run -n msc python -c "\ +from tensorflow.keras.applications import EfficientNetB0; \ +model = EfficientNetB0(weights='imagenet')" + +###################################################################### +# Jupyter Notebook shortcut +sudo tee /usr/local/bin/nb <