[BUG] Doesn't work alongside "BioTransformers" library
See original GitHub issue- I have checked that this bug exists on the latest stable version of AutoGluon
- and/or I have checked that this bug exists on the latest mainline of AutoGluon via source installation
Describe the bug Install library “BioTransformers” and “AutoGluon”. It will fail on importing libraries and then during the using of the library. Depending on the import sequence, it will fail to work. When you will try AutoGluon functions. Error thrown is AutoGluon module is not found. Try to comment, restart kernel and one of the uncommented library will start working again.
Expected behavior Both should work irrespective of each other
To Reproduce
- Install “Bio-Transformers”
- Install “AutoGluon”
from biotransformers import BioTransformers
from autogluon.multimodal import MultiModalPredictor
- Try running the sample code from BioTransformers
- Try running the sample code from AutoGluon
- Depending on the sequence of import statement, one of the library will fail to work
- Restart/reset kernel
- Comment one of the import statement and run imports
- Run again, other uncommented library should work again
Installed Versions
Which version of AutoGluon are you are using?
If you are using 0.4.0 and newer, please run the following code snippet:
# Replace this code with the output of the following:
from autogluon.core.utils import show_versions
show_versions()
This code gives this error
/opt/conda/lib/python3.7/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: /opt/conda/lib/python3.7/site-packages/torchvision/image.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
warn(f"Failed to load image Python extension: {e}")
Issue Analytics
- State:
- Created a year ago
- Comments:14
Top Results From Across the Web
[BUG] Doesn't work alongside "BioTransformers" library #2173
Install library "BioTransformers" and "AutoGluon". It will fail on importing libraries and then during the using of the library. Depending on ...
Read more >Troubleshoot - Hugging Face
Troubleshoot. Sometimes errors occur, but we are here to help! This guide covers some of the most common issues we've seen and how...
Read more >All About Monads - HaskellWiki
All About Monads is a tutorial on monads and monad transformers and a walk-through of common monad instances. You can download a PDF...
Read more >Artificial intelligence powers protein-folding predictions - Nature
Deep-learning algorithms such as AlphaFold2 and RoseTTAFold can now predict a protein's 3D shape from its linear sequence — a huge boon to ......
Read more >Starscream's Ghost - Transformers Wiki
On the run from the Decepticons, Octane seeks asylum on Cybertron, ... the advice of his friend Sandstorm, who at first doesn't believe...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I checked the requirements of biotransformer and this line seems to be the cause: https://github.com/DeepChainBio/bio-transformers/blob/b3c9998266a9c317d049a1a98dcbecf85f6f0075/requirements.txt#L8
This is
pip freeze
before your solution