This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script will install pytorch, torchvision, torchtext and spacy on nano. | |
# If you have any of these installed already on your machine, you can skip those. | |
# Tailored for virtual environments created with python3 -m venv [name] | |
if [ -z ${VIRTUAL_ENV+x} ] | |
then | |
echo "Not in a virtual environment" |