Comments (8)
Hi,
If this is the first time you are trying to use either the build
or build_no_seq
commands, then it needs to download the model weights. Are you connected to the internet?
from model-angelo.
Hi Jamaliki,
Nice to hear from you. Yes, your answer is very correct. Actually, this machine installed with model_angelo has an unstable connection with the internet. I will try another way. Thanks so much for your answer. It really helps me.
All best,
Ning
from model-angelo.
Hi Jamaliki,
Sorry to bother you again. I have tried to change the internet environment for my machine. But it failed to download the model weights. Could I download this model weights by myself via git or wget commands and equip them into somewhere? Please give me some suggestions. Thanks!
All best,
Ning
from model-angelo.
Hi,
Yes you can download them by yourself. Although I am not sure which part is giving an error, is the ESM model downloading or the ModelAngelo weights. So, could you upload your model_angelo.log file?
from model-angelo.
In the meantime, here is a bash script to download the weights yourself (courtesy of GPT-4 ;) ):
#!/bin/bash
# Check if the bundle_name is provided
if [ -z "$1" ]; then
echo "Usage: $0 <bundle_name>"
echo "Available bundle names: original, original_no_seq, small_gpu"
exit 1
fi
# Define download links
declare -A bundle_name_to_link
bundle_name_to_link=(
["original"]="https://zenodo.org/record/7733060/files/original.zip"
["original_no_seq"]="https://zenodo.org/record/7733060/files/original_no_seq.zip"
["small_gpu"]="https://zenodo.org/record/7733060/files/small_gpu.zip"
)
# Set the bundle_name
bundle_name="$1"
# Determine torch.hub directory
if [ -n "$TORCH_HOME" ]; then
torch_hub_dir="$TORCH_HOME/hub"
else
torch_hub_dir="${XDG_CACHE_HOME:-$HOME/.cache}/torch/hub"
fi
# Create destination directory
dest="$torch_hub_dir/checkpoints/model_angelo/$bundle_name"
mkdir -p "$(dirname "$dest")"
# Check if the file already exists
if [ -f "$dest/success.txt" ]; then
echo "Bundle $bundle_name already exists."
exit 0
fi
# Download and extract the zip file
echo "Setting up bundle with name: $bundle_name for the first time."
wget -q -O "${dest}.zip" "${bundle_name_to_link[$bundle_name]}"
unzip -q "${dest}.zip" -d "$(dirname "$dest")"
rm "${dest}.zip"
# Create success.txt file
touch "$dest/success.txt"
echo "Successfully downloaded model" > "$dest/success.txt"
echo "Bundle $bundle_name successfully installed."
from model-angelo.
You should run the script above with the model_angelo
conda environment activated twice. Once for original
and once for original_no_seq
from model-angelo.
Thanks for your quick replies. The script you provided is working to download the weights now. I'm not sure whether this connection error relates about ESM model or model_weights downloading. Here is my error log file. Thanks for your time.
model_angelo.log
from model-angelo.
Let me know if you have any more issues!
from model-angelo.
Related Issues (20)
- running -c with custom config.json. Only want to change threshold but more arguments need defining HOT 2
- ModelAngelo on Mac M1 or M2 (no Nvidia GPU)?
- Default config.json Issue
- UserWarning: Applied workaround for CuDNN issue, install nvrtc.so
- About the training data
- ModelAngelo fails when using fasta files HOT 1
- shape '[5, 20]' is invalid for input of size 20 HOT 1
- error when using maps coming from flexibility analyses protocols HOT 2
- some ideas HOT 1
- Checksum of downloaded file .../.../nucleotides_no_seq.zip does not match expected checksum. HOT 19
- Infinite stop on very small targets HOT 6
- Question about the paper HOT 3
- install_script.sh adaption for variable environment HOT 1
- Small bug with hmm files names. HOT 4
- CUDA out of memory
- config.json file HOT 3
- shell closes when running install script HOT 3
- Chain and residue numbering issues HOT 4
- Make fasta file from best_hits file
- Include undetermined amino acids and handle gaps
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from model-angelo.