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

Typo in do_train #33

Open
deepkyu opened this issue Jan 30, 2023 · 0 comments
Open

Typo in do_train #33

deepkyu opened this issue Jan 30, 2023 · 0 comments

Comments

@deepkyu
Copy link

deepkyu commented Jan 30, 2023

Hi,
it's so late but congrats on great work!

In the below,

for idx in range(cfg.LOSS.NUM_STAGES):
writer.add_scalar(
'train_stage{}_heatmaps_loss'.format(i),
heatmaps_loss_meter[idx].val,
global_steps
)
writer.add_scalar(
'train_stage{}_push_loss'.format(idx),
push_loss_meter[idx].val,
global_steps
)
writer.add_scalar(
'train_stage{}_pull_loss'.format(idx),
pull_loss_meter[idx].val,
global_steps
)

i at 'train_stage{}_heatmaps_loss'.format(i), seems to be changed to idx.

Or, just in case, is there any specific reason for logging in each frequency?

Really appreciate any help you can provide :)

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

1 participant