Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install_windows.bat #653

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ source $(conda info --base)/etc/profile.d/conda.sh
conda create -y -n $CONDA_ENV_NAME python=3.7
conda activate $CONDA_ENV_NAME

conda install -y conda-libmamba-solver pip==21.0.1
conda install -y numpy==1.19.0 scikit-image python-blosc==1.7.0 -c conda-forge
conda install -y pytorch==1.7.1 torchvision cudatoolkit=11.0 -c pytorch

# FOMM
rm -rf fomm 2> /dev/null
git clone https://github.com/alievk/first-order-model.git fomm

pip install -r requirements.txt
conda run pip install -r requirements.txt
4 changes: 3 additions & 1 deletion scripts/install_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ conda activate $CONDA_ENV_NAME
#conda install -y pytorch==1.0.0 torchvision==0.2.1 -c pytorch
#conda install -y python-blosc==1.7.0 -c conda-forge
#conda install -y matplotlib==2.2.2
pip install -r requirements_client.txt
conda install -y conda-libmamba-solver pip==21.0.1

conda run pip install -r requirements_client.txt
3 changes: 2 additions & 1 deletion scripts/install_windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ call scripts/settings_windows.bat
call conda create -y -n %CONDA_ENV_NAME% python=3.7
call conda activate %CONDA_ENV_NAME%

call conda install -y conda-libmamba-solver pip==21.0.1
call conda install -y numpy==1.19.0 scikit-image python-blosc==1.7.0 -c conda-forge
call conda install -y pytorch==1.7.1 torchvision cudatoolkit=11.0 -c pytorch
call conda install -y -c anaconda git
Expand All @@ -17,4 +18,4 @@ REM ###FOMM###
call rmdir fomm /s /q
call git clone https://github.com/alievk/first-order-model.git fomm

call pip install -r requirements.txt --use-feature=2020-resolver
call conda run pip install -r requirements.txt