-
Notifications
You must be signed in to change notification settings - Fork 0
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
Added tensorboard #28
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added also the devcontainer option for VSCode where we can directly execute the project without worrying about versions and packages and environments...
candidate_corpus = [model.vocab.generate_caption(torch.argmax(output[0].transpose(1, 0), dim=-1))] | ||
reference_corpus = [model.vocab.generate_caption(target[0, 1:])] | ||
print(f'Bleu score: {bleu_score(candidate_corpus, reference_corpus)}') | ||
total_loss = 0. | ||
bleu = 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amolero6 I leave it like this because it was not properly working when I tried
ba9e71d
to
0b434eb
Compare
There're a couple of issues related with the tensorboard version and pytorch...but I am not sure what exactly causes that:
pytorch/pytorch#20140