Comments (4)
The offending code is here:
RootPainter3D/trainer/im_utils.py
Line 252 in f95f856
The mechanism here is that the system will retry if it didn't find any foreground, if force_fg is also true, which happens with a certain probability early on in training to avoid sampling too many background only patches early in training.
The problem (I believe) that is causing the server to crash is that the max_retries were for some reason set to 2.
I've put it back up to 200. I consider it unlikely that you will have 200 randomly sampled images without foreground. If so then I can come up with a different solution.
In general I don't think this retry solution is optimal, but hopefully this is a temporary fix.
Can you please let me know if it is working OK for you now.
from rootpainter3d.
It seems to be training now, although the server output is a somewhat cluttered with exceptions, which might confuse. However, it is okay for me :).
from rootpainter3d.
Actually I agree these error messages aren't great. I will change the code so it is not an exception when foreground is not found.
from rootpainter3d.
Fixed so it retries without exceptions/warnings. Still in another branch though. will close this issue when it is merged into master
from rootpainter3d.
Related Issues (20)
- Clearer contribution guidelines HOT 1
- Usage instructions unclear HOT 4
- handle floating point values in images HOT 1
- ignore 'hidden' files when creating a project HOT 1
- auto-build HOT 3
- RootPainter max workers specifiable HOT 2
- Input images with floats in [0,1] are displayed as all black
- "Redo" and "Save annotation" both have Ctrl + Shift + Z as shortcut HOT 1
- Support 3 views
- estimate time remaining when segmenting folder
- Remove incorrect comment HOT 1
- have patch size as input argument HOT 1
- Enable annotations to be assigned to segmentations HOT 3
- Stop making strange transforms when loading images HOT 3
- Multiclass train/validation split is made repeatedly across each class HOT 1
- Retry error on loading validation set images in multiclass project HOT 13
- CryptographyDeprecationWarning HOT 1
- handle images that are smaller than patch size HOT 3
- Upgrade client to PyQt6
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 rootpainter3d.