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

About len_iter #4

Closed
Changryeol-Jeon opened this issue Apr 13, 2023 · 2 comments
Closed

About len_iter #4

Changryeol-Jeon opened this issue Apr 13, 2023 · 2 comments

Comments

@Changryeol-Jeon
Copy link

DAPS/utils/utils.py

Lines 84 to 91 in a77577e

class MetricLogger(object):
def __init__(self, delimiter="\t", dataset=None):
self.meters = defaultdict(SmoothedValue)
self.delimiter = delimiter
if dataset == 'CUHK-SYSU':
self.len_itr = 2240
elif dataset == 'PRW':
self.len_itr = 1140

In that part of the code, CUHK-SYSU specifies len_itr as 2240, but the train_log you uploaded shows 1420. Why is there such a difference?

@caposerenity
Copy link
Owner

Thank you for your concern, you may find in line 87 in engine.py that the training iter is not determined by the setting in utils.py. You can refer to this issue for more information #1

@Changryeol-Jeon
Copy link
Author

Thank you for your great work and detailed explanation.

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