Comments (7)
Yes, then that seems like the best compromise for now.
Ok, it's pinned now. I'll tag a new release once a couple of more bug fixes accumulate.
from kraken.
That's not going to happen. We've arrived at the current pinned dependencies because the random library combinations when not doing so regularly broke functionality. In particular, different pytorch versions can cause enormous (10x) differences in memory consumption and training divergence. You'll see that some dependencies are much less restricted. Those are for packages whose maintainers do not randomly break stuff.
pytorch 2.4.0 is out and I wonder any would keep Kraken from working but a recent commit 51d593a downgraded from 2.2.0 to 2.1.0 :|
Lightning officially only supports up to pytorch 2.2. But that one isn't on conda-forge yet. I can't maintain and keep track of different dependency sets for each packaging system.
from kraken.
FYI I got it to work full-pip (no conda), using
- torch 2.4.0.dev20240510+cu121
- pytorch-lightning 1.1.7
- lightning 2.2.4
- coremltools 6.3.0 (7.x didn't work due to missing
libcoremlpython.so
in the wheel) - numpy 1.26.4
It's indeed a very sensitive matters of version combinations (eg: shapely version breaking inference in non-obvious ways)
[Sadly, no model fits onto 2GB GPU... yet 😢]
from kraken.
The problem with Torch 2.1 is that it still uses pkg_resources.packaging
, which broke with setuptools v70.
What do you recommend we do?
from kraken.
They've pushed pytorch 2.3 onto conda-forge so I can bump up the version as soon as I've verified that everything works.
from kraken.
Hm, the issue is there isn't a lightning release that works with pytorch 2.3 yet and conda-forge never got a pytorch 2.2 release. I can pin setuptools below v70 if that helps.
from kraken.
I can pin setuptools below v70 if that helps.
Yes, then that seems like the best compromise for now.
from kraken.
Related Issues (20)
- It there a way to simply call kraken recognizer from code? HOT 1
- finetune error on altos containing > or < as txt HOT 7
- serialization problem when using segmodel that has same name for linetypes and regiontypes.
- bad polygons HOT 28
- Fine-tuned segmentation model fails to determine regions HOT 1
- Segment command with separate baseline and region models? HOT 5
- AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? HOT 1
- Failure to read varying text sizes in a Newspaper page HOT 7
- polygonisation for vertical writing systems HOT 8
- pretrain: UnboundLocalError HOT 1
- Segmentation: batch input not working HOT 1
- Kraken install post-July 20 2024 are all broken because of python-bidi
- No such option: --device , -d (how to switch between gpu and cpu computing?) HOT 2
- fix --no-segmentation bug
- access to kraken.re ! HOT 3
- Invalid bounding polygon computed exception during segmentation HOT 7
- Segmentation requires libcurand and libcufft HOT 1
- Exception when forcing binarization in segtrain command HOT 13
- Exception when using the reduceonplateau parameter in segtrain command
- Is it possible to see what file is being processed in segment command? 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 kraken.