Comments (9)
Hi,
The loss function is exactly the same as the one in eq 2 of the following version of the YOLO paper:
https://arxiv.org/pdf/1506.02640v1.pdf
from synthtext.
But that does not take into account the orientation of boxes in your paper?
from synthtext.
Those are additional two L2 loss terms on the sine and cosine of the orientation angle.
from synthtext.
Thanks. My loss oscillates a lot during iterations. Was your loss small enough in the starting iterations already? I am looking at a loss of 150 per image after 170 iterations of batches of size 16 each.
from synthtext.
hello please can you help me
i have this error
Traceback (most recent call last):
File "gen.py", line 19, in
from synthgen import *
File "/home/mansour/SynthText/synthgen.py", line 20, in
import text_utils as tu
File "/home/mansour/SynthText/text_utils.py", line 12, in
from pygame import freetype
ImportError: cannot import name freetype
from synthtext.
@MansourTrabelsi this is unrelated to this issue
from synthtext.
@ankush-me I am using batchsize of 16, 512 sized images, grid of 32 for each image. I am using weight of 0.01 increasing to 1.0 for grid boxes that do not have object. I increased the weight in a geometric fashion as you have noted in another issue. However, I still end up with zero probabilities for all boxes in the image. Anything that you can think of that can help me ?
from synthtext.
@sebastiangonsal I did not notice oscillation. First of all, it helps to also monitor the performance during training, by calculating the precision/recall of the predictions in every batch.
Second, if the probability is going to zero, there could be two reasons:
(1) it is a common error in implementing FCRN, that the axes of the labels and the images do not correspond, i.e., the x and y axes are either transposed or flipped. I would first make sure that this is not the case.
(2) the rate of increase is too high. I do not recall at what rate I increased it, but may be try decreasing the rate -- I do remember, if the rate was too high, the network would collapse to all zeros in the beginning itself and wouldn't recover (i.e., recall would go to zero). Are you experiencing that? If so, try lowering the initial 0.01 further. If recall is non-zero in the beginning, then try increasing the weight at a lower rate.
from synthtext.
@MansourTrabelsi Please check #24.
from synthtext.
Related Issues (20)
- Generator gives bad result HOT 4
- Ground truth file HOT 3
- results/SynthText.h5
- Text database
- Generating just one word HOT 1
- Saving masks in folder HOT 1
- Pizda shaatsan how to get generated picture with text but without border ? HOT 1
- AssertionError and text placement parameters misunderstanding
- Incorrect visualization of bboxes HOT 5
- Negative value of word-level bounding-boxes in gt.mat
- Mask and bounding boxes HOT 4
- Downloading of SynthText Pre-generated Dataset HOT 8
- Undefined functions in predict_depth.m in prep_scripts HOT 3
- Anyone know how to disable mirrored/backwards text? HOT 1
- zero-size array
- Some special characters are not generated HOT 3
- Can you generate a composite image consisting entirely of '+', '-', numbers, and decimal points?
- Do you have a non torrent download address? I would like to obtain the depth and seg of SynthText, as well as the original image file HOT 1
- Incorrect BBoxes
- downloading dataset
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 synthtext.