Closed Aurelien-Pelissier closed 1 year ago
Hi, I generated some embeddings with the function
abmap.augment_from_fasta (fastaPath = fasta_file...)
This created a .p files for each sequence. But I did not manage to read them. torch.load() gave me error. Could you clarify how to load these generated files?
.p
torch.load()
Thanks you
Hello, the .p files generated for each sequence are pickle files. So, you would need to use pickle.load() instead of torch.load().
pickle.load()
Thanks, it worked, I'm closing the issue
Hi, I generated some embeddings with the function
abmap.augment_from_fasta (fastaPath = fasta_file...)
This created a
.p
files for each sequence. But I did not manage to read them.torch.load()
gave me error. Could you clarify how to load these generated files?Thanks you