Skip to content

Instantly share code, notes, and snippets.

@tommylees112
Created July 28, 2021 12:23
Show Gist options
  • Save tommylees112/52273eec734c208312539e051339fc65 to your computer and use it in GitHub Desktop.
Save tommylees112/52273eec734c208312539e051339fc65 to your computer and use it in GitHub Desktop.
Create an old_ml environment that works with previously run versions of neuralhydrology [01/01/2021]
conda create -n old_ml
conda activate old_ml
conda install -c conda-forge xarray=0.16.2 pandas=1.2.4 numpy=1.19.2 --yes
conda install pytorch torchvision -c pytorch --yes
conda install -c conda-forge seaborn=0.11 --yes
conda install -c conda-forge netcdf4 numba tqdm jupyterlab tensorboard ipython pip ruamel.yaml descartes statsmodels scikit-learn black mypy --yes
pip install geopandas
ipython --pdb -c "import torch; assert torch.cuda.is_available(); print(torch.backends.cudnn.version()); print(torch.cuda.device_count());"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment