sacdallago / bio_embeddings

Get protein embeddings from protein sequences
http://docs.bioembeddings.com
MIT License
463 stars 65 forks source link

Getting tqdm error on Colab #123

Closed sacdallago closed 3 years ago

sacdallago commented 3 years ago

Executing: https://colab.research.google.com/github/sacdallago/bio_embeddings/blob/develop/notebooks/extract_supervised_from_seqvec.ipynb

I get:

image

this error goes away after I re-execute the pip3 install commands.

High prio because relevant for protocol users!

konstin commented 3 years ago

I've filed an issue upstream: https://github.com/huggingface/transformers/issues/10964. In summary, transformers uses pkg_resources with uses a cache which does only get updated when restarting the runtime or flushing the cache manually. Until we get a response from transformers, if you want I can add a very hacky workaround.

sacdallago commented 3 years ago

:D and you received praise from the transformers team, not bad ;) and you'll be a contributor to huggingface, what a prolific coder

No hacks for now, let's see how quickly they merge your PR (I'd assume: quickly)