Comments (12)
see in training samples
from east.
@argman @zxytim Why the code always stuck at time.sleep(0.01) in the def get_batch(num_workers=10, **kwargs): after read through the the images?
from east.
if you dont have enough cpu-cores, you should reduce the num_readers to a suitable number.
from east.
@argman Even I change the readers number to 4(I am sure I have at least 28 free cores), the stuck problem still there, below is the part of running log:
image_list.shape:(1000,)
1000 training images in ICDAR2015
enqueuer.queue isnot empty, sleep 0.01
enqueuer.queue isnot empty, sleep 0.01
enqueuer.queue isnot empty, sleep 0.01
.
.
.
.
enqueuer.queue isnot empty, sleep 0.01
from east.
I dont encounter your problem, maybe it's the version of keras, I use keras to provide mulithread
what's your keras version ?
from east.
@argman My keras version is 2.0.0, and which version of keras you used?
from east.
I've updated the code, no need to install keras now.
from east.
@argman Now I faced new problem while training, the tips is warning, the warning info:
icdar.py:210: RuntimeWarning: divide by zero encountered in float_scalars
theta = np.arctan((poly[3][0] - poly[0][0]) / (poly[3][1] - poly[0][1]))
icdar.py:216: RuntimeWarning: divide by zero encountered in float_scalars
theta = np.arctan((poly[2][0] - poly[1][0]) / (poly[2][1] - poly[1][1]))
from east.
its caused by some small polygons, you can ignore it.
from east.
@LearnerInGithub The newest version is using np.arctan2, the problem should be fixed.
from east.
@LearnerInGithub how did you solve the problem of being stucked in sleep(0.01) ??
from east.
@LearnerInGithub @rmmal how did you solve the problem of being stucked in sleep(0.01) ??
from east.
Related Issues (20)
- how to avoid symbol or icon
- convert to tensorrt
- ImportError: Python version mismatch: module was compiled for version 3.6, while the interpreter is running version 3.7.
- EAST in tensorflowjs
- PRUNING HOT 1
- Does this model recognize other languages HOT 1
- KeyError: 'verbosity'
- !!!!救救孩子!!!!!10w个epoch一定要都跑完吗???为什么训练到1000左右都没有保存模型????? HOT 1
- What does `geometry` contain?
- Invert links
- 请问我应该从哪里看训练过程中各项的变化
- can we custom train for specific number detection like credit card number
- FileNotFoundError: [WinError 2] The system cannot find the file specified HOT 1
- ModuleNotFoundError: No module named 'lanms.adaptor'
- Not able to install on Mac
- how to modify multigpu_train.py to train on cpu with custom dataset
- cannot import resnetv1
- Pure C version of LANMS
- Is there a rule for training image size? HOT 1
- Is there something better to replace EAST?
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 east.