5,337
edits
(→Python) |
|||
Line 47: | Line 47: | ||
** Add this to .bashrc: | ** Add this to .bashrc: | ||
** <code>export PYTHONPATH="${PYTHONPATH}:/nfshomes/$(whoami)/.local/lib/python3.7/site-packages/"</code> | ** <code>export PYTHONPATH="${PYTHONPATH}:/nfshomes/$(whoami)/.local/lib/python3.7/site-packages/"</code> | ||
* You can also install using <code>pip install --target | |||
===Install PyTorch=== | ===Install PyTorch=== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
pip install --user torch===1.3.1 torchvision===0.4.2 -f https://download.pytorch.org/whl/torch_stable.html | pip install --user torch===1.3.1 torchvision===0.4.2 -f https://download.pytorch.org/whl/torch_stable.html | ||
</syntaxhighlight | </syntaxhighlight | ||
==MBRC Cluster== | ==MBRC Cluster== |