-
Notifications
You must be signed in to change notification settings - Fork 110
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
IndexError: tuple index out of range #38
Comments
#34 should answer your question. I had same also. Then, I did according to that tread and viola....it worked. After completion, then, this: After, |
Thanks for your response. I have a set of smiles which I am working on, extracting the substructures is done successfully but the second step is giving the following error: do you have any idea what could be problem? Thanks for your help. python preprocess.py --train Inforna_correct_for_ML.txt --vocab inforna_vocab.txt --ncpu 16 --mode single File "preprocess.py", line 109, in |
I will suggest you adjust the number of split formular: |
Thanks a lot for your help. Thanks, here is the pytorch version I am using, if it helps: Name Version Build Channelpytorch 1.11.0 py3.7_cuda11.1_cudnn8.0.5_0 pytorch Traceback (most recent call last): |
The error is due to lack of nvidia gpu that enable cuda on your machine. |
but I have the nvidia gpu? NVIDIA-SMI 470.129.06 Driver Version: 470.129.06 CUDA Version: 11.4 | |
Perhaps, the driver is not properly installed. Something must be wrong somewhere.! |
maybe this can help: 2e56392 |
Thanks, I finally figured out what was wrong and now it is working. Now I have a problem with finetune_generator.py I have used the chemprop_train on my dataset and got the following in the save_dir: after running the finetune_generator.py I get the following error, can you please let me know how can I trace the problem. Thanks for your help. Traceback (most recent call last): |
Did you solve it? I am trying to figure it out, if I get to solve it, I will push the changes to my own version of this package https://github.com/muammar/hgraph2graph |
Ok, I solved it... First, your fine-tune set does not need to have any headers. It should look like this:
Then, you need to apply the following patch:
See: muammar@a714e29 |
Hi muammar, Thanks for the solution. Thanks, Traceback (most recent call last): |
Hello,
I am following the the example for "Molecule generation pretraining procedure". first step "python get_vocab.py --ncpu 16 < data/chembl/all.txt > vocab.txt" is done with no error, but I am getting the "IndexError: tuple index out of range" for the second step
python preprocess.py --train data/chembl/all.txt --vocab data/chembl/all.txt --ncpu 16 --mode single
can you please let me know what could be the problem.
Best,
Amir
The text was updated successfully, but these errors were encountered: