there is a mistake on line 75
am running python script in interactive mode and this hapened
divinpr@volta05:/$ python compute_protein_embeddings.py --emb_name bert --input_
Import embedder...
Some weights of the model checkpoint at /home/divinpr/.cache/bio_embeddings/protrm.dense.bias', 'cls.seq_relationship.bias', 'cls.predictions.transform.dense.weorm.weight', 'cls.predictions.transform.LayerNorm.bias']
- This IS expected if you are initializing BertModel from the checkpoint of a moeTraining model).
- This IS NOT expected if you are initializing BertModel from the checkpoint of cation model).
Traceback (most recent call last):
File "compute_protein_embeddings.py", line 75, in <module>
if not os.isfile(input_dataset):
AttributeError: module 'os' has no attribute 'isfile'
there should be os.path.isfile(input_dataset) insted of os.isfile(input_dataset)
there is a mistake on line 75 am running python script in interactive mode and this hapened
there should be
os.path.isfile(input_dataset)
insted ofos.isfile(input_dataset)