enai4bio / DeepAAI

DeepAAI
GNU Affero General Public License v3.0
27 stars 2 forks source link

error in reproducing #1

Open hokiwood-geek opened 1 year ago

hokiwood-geek commented 1 year ago

Hi, I tried to run the code, but when running the training command, it outputs the following Error.

loading /content/DeepAAI/dataset/corpus/processed_mat/abs_dataset_cls_antibody=344_virus=912_kmer_min_df=0.1__protein_ft_dict.pkl Traceback (most recent call last): File "model_trainer/deep_aai_kmer_embedding_cls_trainer.py", line 328, in <module> trainer = Trainer(**param_dict) File "model_trainer/deep_aai_kmer_embedding_cls_trainer.py", line 32, in __init__ reprocess=False) File "/content/DeepAAI/dataset/abs_dataset_cls.py", line 63, in __init__ with open(self.protein_ft_save_path, 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: '/content/DeepAAI/dataset/corpus/processed_mat/abs_dataset_cls_antibody=344_virus=912_kmer_min_df=0.1__protein_ft_dict.pkl'

and, Can you provide the trained model and a script to directly use the model to predict the new data? Thank you very much

stzhangjie commented 1 year ago

"abs_dataset_cls_antibody=344_virus=912_kmer_min_df=0.1__protein_ft_dict.pkl " is provided in the format of tar.gz as a processed feature file rather than a saved model and needs to be decompressed. There is no trained model available on github.