(titan) [imerelli@gpu005 tutorial]$ python3 ../scripts/flexible_training.py \
> data/train_small.csv \
> data/test_small.csv \
> data/tcr_full.csv \
> data/epitopes.smi \
> trained_model \
> data/params_small.json \
> tutorial_setting \
> bimodal_mca
INFO:tutorial_setting:Start data preprocessing...
INFO:tutorial_setting:Ligand file has extension .smi
Please make sure ligand is provided as SMILES.
2
ERROR:pytoda.datasets.smiles_dataset:Since you provided a smiles_language, the following parameters to this class will be ignored: canonical, augment, kekulize, all_bonds_explicit, selfies, sanitize, all_hs_explicit, remove_bonddir, remove_chirality, randomize, add_start_and_stop, padding, padding_length.
Here are the problems:
ERROR:pytoda.datasets.smiles_dataset:Provided arg add_start_and_stop:True does not match the smiles_language value: False NOTE: smiles_language value takes preference!!
ERROR:pytoda.datasets.smiles_dataset:Provided arg padding:True does not match the smiles_language value: False NOTE: smiles_language value takes preference!!
ERROR:pytoda.datasets.smiles_dataset:Provided arg padding_length:422 does not match the smiles_language value: None NOTE: smiles_language value takes preference!!
ERROR:pytoda.datasets.smiles_dataset:To get rid of this, adapt the smiles_language *offline*, feed itready for intended usage, and adapt the constructor args to be identical with their equivalents in the language object
ERROR:pytoda.datasets.smiles_dataset:Since you provided a smiles_language, the following parameters to this class will be ignored: canonical, augment, kekulize, all_bonds_explicit, selfies, sanitize, all_hs_explicit, remove_bonddir, remove_chirality, randomize, add_start_and_stop, padding, padding_length.
Here are the problems:
ERROR:pytoda.datasets.smiles_dataset:Provided arg add_start_and_stop:True does not match the smiles_language value: False NOTE: smiles_language value takes preference!!
ERROR:pytoda.datasets.smiles_dataset:Provided arg padding:True does not match the smiles_language value: False NOTE: smiles_language value takes preference!!
ERROR:pytoda.datasets.smiles_dataset:Provided arg padding_length:422 does not match the smiles_language value: None NOTE: smiles_language value takes preference!!
ERROR:pytoda.datasets.smiles_dataset:To get rid of this, adapt the smiles_language *offline*, feed itready for intended usage, and adapt the constructor args to be identical with their equivalents in the language object
......
INFO:tutorial_setting:Training about to start...
INFO:tutorial_setting:== Epoch [0/100] ==
INFO:tutorial_setting:Batch 0/3
INFO:tutorial_setting: **** TRAINING **** Epoch [1/100], loss: 0.68310. This took 1.6 secs.
Traceback (most recent call last):
File "/opt/tools/deg/TITAN/tutorial/../scripts/flexible_training.py", line 483, in <module>
main(
File "/opt/tools/deg/TITAN/tutorial/../scripts/flexible_training.py", line 399, in main
predictions = torch.cat(predictions, dim=0).flatten().cpu().numpy()
RuntimeError: torch.cat(): expected a non-empty list of Tensors
Hi,
I'm trying to run the tutorial, but I have this problem. In the end the script fails.
Can you help me in understanding which is the problem?