openvax / mhcflurry

Peptide-MHC I binding affinity prediction
http://openvax.github.io/mhcflurry/
Apache License 2.0
193 stars 58 forks source link

AttributeError: module 'tensorflow' has no attribute 'ConfigProto' #150

Closed amomin-pact closed 5 years ago

amomin-pact commented 5 years ago

Hi , When I try to run the mhcflurry-predict --alleles HLA-A*02:04 --peptides SIINFEKL , I get the following error. AttributeError: module 'tensorflow' has no attribute 'ConfigProto'.

Is mhcFlurry dependent on a specific tensorflow version.

Thanks

timodonnell commented 5 years ago

Which version of tensorflow are you using?

amomin-pact commented 5 years ago

tensorflow 2.0.0 keras 2.3.1

timodonnell commented 5 years ago

Thanks for reporting this - we may not be compatible with tensorflow 2.0. Can you try a 1.x version (I think the latest and 1.15) and let me know if that fixes this for you?

amomin-pact commented 5 years ago

Thanks the package works with TF1.14

timodonnell commented 5 years ago

Reopening since we should either support tensorflow 2 or explicitly indicate that we depend on tensorflow < 2