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

Added tensorboard #28

Merged
merged 6 commits into from
Jun 4, 2021
Merged

Added tensorboard #28

merged 6 commits into from
Jun 4, 2021

Conversation

lucaswerner90
Copy link
Owner

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

Copy link
Owner Author

@lucaswerner90 lucaswerner90 left a 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
Copy link
Owner Author

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

@lucaswerner90 lucaswerner90 merged commit f44b88f into master Jun 4, 2021
@lucaswerner90 lucaswerner90 deleted the lucaswerner branch June 4, 2021 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tensorboard (or another way to plot loss and log other variables)
2 participants