-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
code details #61
Comments
actually following the first question I asked. I noticed that the last convolution output map's activate func isn't tanh, but instead, |
Sorry for late reply.
Hopefully this will help you. |
it helps a lot, thank u. I've trained a model based on x and y offset map, and it's doing poorly on the eval set. I think it's because of the x offset that affects the ctc decoding. Utill I figure how to fix this, I'll change to y-offset only too. |
You're welcome! |
@Canjie-Luo Hi, I still could not understand the code in Line 64 in 2cd40c4
I guess that you assume the offsets within the 2*2 block are in a similar range (both positive or negative), but the assumption might not be proper in the very beginning of the training. |
So as I read in paper the offset of input image is sum of grid and offset map. but the code below is confusing for me. Can you kindly explain it a bit, thanks.
offsets_x = torch.cat([grid_x, grid_y + offsets_grid], 3)
and also, Does it require a particular initial weigth for morn, as I think that it might be the best to initialize identity transform matrix.
The text was updated successfully, but these errors were encountered: