alphageometry
alphageometry copied to clipboard
Download fails with "file/folder name cannot be extracted from: ag_ckpt_vocab"
Under WSL (Windows Subsystem for Linux) I get the error below.
Error
bash download.sh
Retrieving folder list
Failed to retrieve folder contents:
file/folder name cannot be extracted from: ag_ckpt_vocab – Google Disk
Solution
Manually navigate to Google Drive location of the weights and other files (link: https://drive.google.com/drive/u/0/folders/1ZLaZ2ajtOcILDWa5ePPLX1bmaf_BNRZV
)
Copy that link and set it in download.sh file instead of using the https://bit.ly/alphageometry
gdown --folder https://drive.google.com/drive/u/0/folders/1ZLaZ2ajtOcILDWa5ePPLX1bmaf_BNRZV
export DATA=ag_ckpt_vocab
I have the same problem - the proposed workaround worked. I am running windows 11 / WSL2.
I've Created a hugging face repo with the weights and Voccab for alphageometry , here's the link : https://huggingface.co/abrahamabelboodala/ALPHAGEOMETRY_ag_ckpt_vocab/tree/main/ag_ckpt_vocab
Install from hugging face repo
Common Error
When running the download.sh
script, you may encounter the following error:
bash download.sh
# Error Output:
DATA=ag_ckpt_vocab
Retrieving folder list
Failed to retrieve folder contents:
file/folder name cannot be extracted from: ag_ckpt_vocab – Google Drive
Resolution Steps
-
Create a Folder:
- At the root of your alphageometry folder, create a new folder named
ag_ckpt_vocab
. Example:alphageometry/ag_ckpt_vocab
- At the root of your alphageometry folder, create a new folder named
-
Download Required Files:
- from this link https://huggingface.co/abrahamabelboodala/ALPHAGEOMETRY_ag_ckpt_vocab/tree/main/ag_ckpt_vocab
- Download and place the following three files inside your
ag_ckpt_vocab
folder:-
geometry.757.vocab
-
geometry.757.model
-
checkpoint_10999999
-
-
Set Environment Variable:
-
Open a bash shell at the root of your alphageometry folder.
-
Execute the following command:
export DATA=ag_ckpt_vocab
-
Alternative to Step 3
Alternatively, you can automate the environment variable setup:
-
Create a file named
extrasetup.sh
in the root of your alphageometry folder. -
Add the following line to
extrasetup.sh
:export DATA=ag_ckpt_vocab
-
In a bash shell at the root of your alphageometry folder, execute:
bash extrasetup.sh