Comments (5)
What's the size of your tagMapFile
(by default tagMap.yaml
)?. It's been years since I worked on this but the tag map is inefficient since it requires to be fully loaded into memory. Still, I can't imagine it being so huge to cause OOM, maybe the issue is with the yaml parser.
from szurubooru-auto-tagger.
My tagfile size is 109K and only has 4170 lines.
from szurubooru-auto-tagger.
Can you build/run from source code? I've swapped the yaml parser with a more common one but I don't really have the booru setup to test it properly.
It's possible too your tag map has some weird tag that messed up the parser.
from szurubooru-auto-tagger.
Sure. I've run it from the source code and it works great so far. I've not yet run it to completion as there are many posts that need to be tagged but I think it's safe to say the changes work as the program no longer breaks after "Reading tag map...". Thank you. :)
Szurubooru auto tagger Using config from config-szu-tag.yaml Booru connectivity looks ok Reading tag map... Obtaining tags... URL http://192.168.9.244:8090/api/posts/?offset=0&limit=100&query=auto_tagme timed out. Retrying in 3 seconds... URL http://192.168.9.244:8090/api/posts/?offset=100&limit=100&query=auto_tagme timed out. Retrying in 3 seconds... URL http://192.168.9.244:8090/api/posts/?offset=200&limit=100&query=auto_tagme timed out. Retrying in 3 seconds... URL http://192.168.9.244:8090/api/posts/?offset=300&limit=100&query=auto_tagme timed out. Retrying in 3 seconds... URL http://192.168.9.244:8090/api/posts/?offset=400&limit=100&query=auto_tagme timed out. Retrying in 3 seconds... URL http://192.168.9.244:8090/api/posts/?offset=500&limit=100&query=auto_tagme timed out. Retrying in 3 seconds... URL http://192.168.9.244:8090/api/posts/?offset=600&limit=100&query=auto_tagme timed out. Retrying in 3 seconds... URL http://192.168.9.244:8090/api/posts/?offset=700&limit=100&query=auto_tagme timed out. Retrying in 3 seconds... URL http://192.168.9.244:8090/api/posts/?offset=800&limit=100&query=auto_tagme timed out. Retrying in 3 seconds... URL http://192.168.9.244:8090/api/posts/?offset=900&limit=100&query=auto_tagme timed out. Retrying in 3 seconds... URL http://192.168.9.244:8090/api/posts/?offset=1000&limit=100&query=auto_tagme timed out. Retrying in 3 seconds... There are 1071 posts that needs to be tagged Searching IQDB match for post 1079... Found post 1079 match: https://danbooru.donmai.us/posts/2873430 Updated post 1079 source Updated post 1079 safety to Safe Found bigger version of post 1079, created comment. Updated post 1079 tags. Completed 1/1071. (rest omitted)
from szurubooru-auto-tagger.
Great, I'll upload the jar to releases. Just a heads up, I don't think you can stop it midway since that won't update notes and tag metadata. This project is in a need of a rewrite to fix all the bad design decisions. I planned to do so but ultimately decided that szurubooru doesn't fit my needs. I think I should update the README to say that this project isn't really maintained.
from szurubooru-auto-tagger.
Related Issues (12)
- Better Jsoup error handling
- Obtain post notes
- Limit number of request made
- Additional invocation options
- Recover from timed out errors
- Convert notes HTML to Markdown
- Extract tag wiki HOT 1
- Add batch downloader
- Use post source for faster lookup
- Notify user when bigger version of image was found
- Exceptions being thrown when attempting to update existing tags. HOT 8
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 szurubooru-auto-tagger.