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

Running predict.py on sample fasta file #7

Open
aparsan opened this issue Jul 24, 2024 · 3 comments
Open

Running predict.py on sample fasta file #7

aparsan opened this issue Jul 24, 2024 · 3 comments

Comments

@aparsan
Copy link

aparsan commented Jul 24, 2024

Hi! I'm new to deepgo and Linux and am attempting to run deepgo2 on my own fasta file, but am getting a time out error.


python predict.py -if example.fasta -d cuda

I was wondering how long it should take to make one prediction? I'm running on 1 a-100-GPU and with a memory of 70 GBs. is there's anything I'm doing wrong in terms of how the path is presented/where the example file should be relative to the predict.py file. Thanks so much, would appreciate any help!

@coolmaksat
Copy link
Contributor

Hi, it should be quite fast on a A-100 GPU. But, when you run it first time it downloads ESM2 model which may take some time depending on your internet. Can you provide the output?

@aparsan
Copy link
Author

aparsan commented Jul 27, 2024

I was able to get it to work, thank you so much!

Another quick question – I'd like to train and test the model on my own data. Is there a format/file structure that would allow me to do so most fluidly and with the least amount of modifications to train.py?

@coolmaksat
Copy link
Contributor

Hi, Please have a look at gendata/deepgo2_data.py and gendata/uni2pandas.py scripts that I use to generate training/validation/testing splits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants