Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running "deepbgc info" issue #91

Open
AledHe opened this issue Jun 9, 2023 · 0 comments
Open

running "deepbgc info" issue #91

AledHe opened this issue Jun 9, 2023 · 0 comments

Comments

@AledHe
Copy link

AledHe commented Jun 9, 2023

Dear developers,
Currently I followed the standard commendline(pip) provided in readme to install deepbgc-0.1.30-py3-none-any.whl (64 kB). However, when I check the installation (using deepbgc info) and found out that:

INFO 09/06 12:22:52 Available data files: ['releases', 'Pfam-A.31.0.hmm', 'Pfam-A.31.0.hmm.h3i', 'Pfam-A.31.0.hmm.h3m', 'Pfam-A.31.0.hmm.h3f', 'Pfam-A.31.0.hmm.h3p', 'Pfam-A.31.0.clans.tsv']
INFO 09/06 12:22:52 ================================================================================
INFO 09/06 12:22:52 Available detectors: ['deepbgc', 'clusterfinder_retrained', 'clusterfinder_original', 'clusterfinder_geneborder']
INFO 09/06 12:22:52 --------------------------------------------------------------------------------
INFO 09/06 12:22:52 Model: deepbgc
INFO 09/06 12:22:52 Loading model from: /public/home/zhaoxinghong/.local/share/deepbgc/data/0.1.0/detector/deepbgc.pkl
Using TensorFlow backend.
WARNING 09/06 12:22:59 Model not supported: ("Error unpickling model from path '/public/home/zhaoxinghong/.local/share/deepbgc/data/0.1.0/detector/deepbgc.pkl'", TypeError('Descriptors cannot not be created directly.\nIf this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.\nIf you cannot immediately regenerate your protos, some other possible workarounds are:\n 1. Downgrade the protobuf package to 3.20.x or lower.\n 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).\n\nMore information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates'))
INFO 09/06 12:22:59 --------------------------------------------------------------------------------
INFO 09/06 12:22:59 Model: clusterfinder_retrained
INFO 09/06 12:22:59 Loading model from: /public/home/zhaoxinghong/.local/share/deepbgc/data/0.1.0/detector/clusterfinder_retrained.pkl
WARNING 09/06 12:23:00 Model not supported: ('Package "hmmlearn" needs to be installed to run ClusterFinder HMM. ', 'Install extra dependencies using: \n pip install "deepbgc[hmm]"')
INFO 09/06 12:23:00 --------------------------------------------------------------------------------
INFO 09/06 12:23:00 Model: clusterfinder_original
INFO 09/06 12:23:00 Loading model from: /public/home/zhaoxinghong/.local/share/deepbgc/data/0.1.0/detector/clusterfinder_original.pkl
WARNING 09/06 12:23:00 Model not supported: ('Package "hmmlearn" needs to be installed to run ClusterFinder HMM. ', 'Install extra dependencies using: \n pip install "deepbgc[hmm]"')
INFO 09/06 12:23:00 --------------------------------------------------------------------------------
INFO 09/06 12:23:00 Model: clusterfinder_geneborder
INFO 09/06 12:23:00 Loading model from: /public/home/zhaoxinghong/.local/share/deepbgc/data/0.1.0/detector/clusterfinder_geneborder.pkl
WARNING 09/06 12:23:00 Model not supported: ('Package "hmmlearn" needs to be installed to run ClusterFinder HMM. ', 'Install extra dependencies using: \n pip install "deepbgc[hmm]"')
INFO 09/06 12:23:00 ================================================================================
INFO 09/06 12:23:00 Available classifiers: ['product_class', 'product_activity']
INFO 09/06 12:23:00 --------------------------------------------------------------------------------
INFO 09/06 12:23:00 Model: product_class
INFO 09/06 12:23:00 Loading model from: /public/home/zhaoxinghong/.local/share/deepbgc/data/0.1.0/classifier/product_class.pkl
/public/home/zhaoxinghong/miniconda3/envs/deepbgc/lib/python3.7/site-packages/sklearn/base.py:306: UserWarning: Trying to unpickle estimator DecisionTreeClassifier from version 0.18.2 when using version 0.21.3. This might lead to breaking code or invalid results. Use at your own risk.
UserWarning)
/public/home/zhaoxinghong/miniconda3/envs/deepbgc/lib/python3.7/site-packages/sklearn/base.py:306: UserWarning: Trying to unpickle estimator RandomForestClassifier from version 0.18.2 when using version 0.21.3. This might lead to breaking code or invalid results. Use at your own risk.
UserWarning)
INFO 09/06 12:23:02 Type: RandomForestClassifier
INFO 09/06 12:23:02 Version: 0.1.0
INFO 09/06 12:23:02 Timestamp: 1551781410.019103 (2019-03-05T18:23:30.019103)
INFO 09/06 12:23:02 --------------------------------------------------------------------------------
INFO 09/06 12:23:02 Model: product_activity
INFO 09/06 12:23:02 Loading model from: /public/home/zhaoxinghong/.local/share/deepbgc/data/0.1.0/classifier/product_activity.pkl
INFO 09/06 12:23:02 Type: RandomForestClassifier
INFO 09/06 12:23:02 Version: 0.1.0
INFO 09/06 12:23:02 Timestamp: 1551781433.886473 (2019-03-05T18:23:53.886473)
INFO 09/06 12:23:02 ================================================================================
WARNING 09/06 12:23:02 Some warnings detected, check the output above

I've tried using protobuf==3.19.0 to solve the first WARNING but which caused more problem and for the last two WARNING, scikit-learn=0.18.2 doesn't seem support python=3.7.

How can I solve above problems?

Thank you for the assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant