Comments (4)
What do you mean device == "cpu" doesn't work. Line 75 will check whether there is a GPU available. If yes, the device will be cuda. If you only want to use CPU, you can set Line 75 as device="cpu"
from phabox.
I mean is this a bug? "If" expression in line 76 returns False in my phabox environment unexpectely.
from phabox.
I got what you mean. It is indeed a bug, and it was fixed in the latest version. Thanks for your report
from phabox.
Tanks for your prompt reply
from phabox.
Related Issues (20)
- convert xml failed HOT 3
- Illegal instruction HOT 3
- Cannot find pre-trained model HOT 7
- Typo? HOT 2
- [improvement] adding blastxml_to_tabular.py as an input parameter to the main.py function. HOT 5
- Conda [/Mamba] Installation Channel Priority Strict Error
- RuntimeError: CUDA out of memory issue HOT 5
- convert xml failed HOT 1
- How to get the full taxa of predicted hosts HOT 5
- why only have phagcn_prediction.csv phamer_prediction.csv phatyp_prediction.csv,but not cherry_prediction.csv HOT 11
- phagcn_prediction.csv not created in midfolder HOT 2
- different results between phagcn2 and phabox HOT 6
- Dependency issue with mamba/conda installation HOT 2
- Can this tool be directly installed through conda? HOT 3
- print(f'Database directory {db_dir} missing or unreadable') HOT 7
- Taxonomy classification: PhaGCN 2.0 vs PhaBOX HOT 2
- Error in build_pc_matrices Function: ValueError Due to Mismatched Index Arrays HOT 1
- Typo in installation guide HOT 2
- Clarification on "Unknown" vs. "No Family Available" in Phagcn Taxonomy Predictions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phabox.