Skip to content
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

Question about variable “batch_size_t” #22

Open
EricWWWW opened this issue Feb 14, 2020 · 1 comment
Open

Question about variable “batch_size_t” #22

EricWWWW opened this issue Feb 14, 2020 · 1 comment

Comments

@EricWWWW
Copy link

Hi,
I'm a beginner on image-caption,and your code can run on my pc successfully without any bug.
But there is one thing in "models.py" line 136 : the variable “batch_size_t” in for loop,I can't figure out what it does

@EricWWWW EricWWWW reopened this Feb 14, 2020
@sjq-shanghai
Copy link

batch_size_t is the total number of captions whose length is bigger than present time step. And in the for loop, these captions go on propagating forward. In other word, the captions whose length are smaller than present time step stop propagating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants