Open gaferguz opened 3 years ago
I'm having this issue too.
I found this link (https://stackoverflow.com/questions/56127592/attributeerror-module-tensorflow-has-no-attribute-configproto) suggesting this fix
import tensorflow.compat.v1 as tf tf.disable_v2_behavior()
So I tried substituting that in the deepbinner.py and classify.py headers, but it's still throwing keras error messages and I don't know how to fix them.
(base) xcm@uoC02ZWCFFMD6M Desktop % deepbinner classify --rapid fast5_pass > fast5_demultiplex
WARNING:tensorflow:From /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/compat/v2_compat.py:96: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
Using TensorFlow backend.
2020-09-16 16:09:19.272221: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2020-09-16 16:09:19.297098: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fe144a75f50 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-09-16 16:09:19.297117: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
Loading /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/deepbinner/models/SQK-RBK004_read_starts... Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/bin/deepbinner", line 8, in
Edit: I could not get this to work on my Mac, but I got it to work on linux in a conda environment with python 3.6, tensorflow==1.15.0, and keras==2.1.5.
Thank you Morganx. I had the same problem and fixed with tensorflow 1.15.0 and keras 2.1.5. Legend! Ubuntu 20.04
Hello, I tried using the following command:
import tensorflow.compat.v1 as tf tf.disable_v2_behavior()
On Ubuntu 20.04 using a conda environment with python 3.6, keras==2.1.5 and tensorflow==1.15.0.
I tried using the classify command but i kept getting a warning asking me to use tf.compat.v1.ConfigProto and then error.
Thanks in advance
Hi everyone, I am facing an issue when running Deepbinner to demultiplex my fast5 files on a Mac Os:
Since 'ConfigProto' is only available for older tensorflow versions (I checked ant it was remove in version 2.0), I tried pip install with tensorflow 1.15 version and got the following error:
I am not sure if I am doing things right or if I must install a specific tensorflow version on my system to work it out, but I still getting the first Error when using version 2.0 or above. I would appreciate any help on this.
Thanks in advance.