Comments (2)
I'm a bit lost. Is this something to discuss during the hackathon?
from core-bioimage-io-python.
I'm a bit lost. Is this something to discuss during the hackathon?
I think so. I'll collect some insights here and if anyone has experience on this please share here so we can have a more informed discussion during the hackathon.
What I found out today about tenforflow: (edit: takes potato out of mouth.. ehem, tensorflow)
For tensorflow it looks a bit like an unsolved problem (e.g. tensorflow/tensorflow#36465 (comment))
Some people take desperate measures that we definitely can't: kill all nvidia processes on gpu
💥 tensorflow/tensorflow#36465 (comment)
Theoretically tf.Session
is the solution:
https://github.com/tensorflow/docs/blob/r1.14/site/en/api_docs/python/tf/Session.md#tfsession
There were problems with that related to nvidia drivers (old issue): tensorflow/tensorflow#1727 (comment)
I'll give tf.Session
a try and share the code snippet here so we can try on several machienes, etc...
One way to circumvent all of that is to use multiprocessing (would work for any framework):
- e.g. with shared numpy array to get the data back from the inference process: https://stackoverflow.com/a/7908612/17492107 @oeway is there not a way to make this integrated mp approach work on a triton server? no additional software would be needed, we could encapsulate it in the ModelAdapter base (within bioimageio.core's internals)
from core-bioimage-io-python.
Related Issues (20)
- validate (citation) dois
- VALUE is not a is not a valid RESUNIT HOT 12
- Better default io names in build_model() HOT 12
- Implement sha256 check for the model
- MONAI translation to BioImage format HOT 1
- Image normalization causing test_model test failure HOT 3
- Provide our CI testing environment as docker containers
- Reproducibility test for model creation fails HOT 3
- Hackathon 2023/10 notes HOT 2
- programmatic access for datasets
- Add support for release candidates and automatic mail updates
- developer documentation
- Investigate integration of aicsimageio
- Add/improve weight converters
- Loading model resource gives assertion error HOT 2
- Link in example broken HOT 1
- Running `test_model` raises TypeError: list indices must be integers or slices, not str HOT 1
- Improve weights conversion to ONNX HOT 1
- bug when `add_deepimagej_config=True` in `build_model` HOT 5
- Error when importing HOT 2
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 core-bioimage-io-python.