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

Updated run.sh #54

Open
wants to merge 3 commits into
base: main
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
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@ share/python-wheels/
.installed.cfg
*.egg
MANIFEST

# Others
pyvenv.cfg
share/
bin/
ag_ckpt_vocab/
meliad_lib/
9 changes: 7 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,17 @@
set -e
set -x

virtualenv -p python3 .
virtualenv -p python3.10 .
source ./bin/activate

sudo apt-get install python3.10-tk # temporary solution
pip install -U pip
pip install --require-hashes -r requirements.txt

gdown --folder https://bit.ly/alphageometry
GDRIVE_URL=$(curl -s -L -o /dev/null -w "%{url_effective}" https://bit.ly/alphageometry)
pip install -U gdown # temporary solution
echo "Downloading GDrive folder: $GDRIVE_URL"
gdown --folder "$GDRIVE_URL"
DATA=ag_ckpt_vocab

MELIAD_PATH=meliad_lib/meliad
Expand Down