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

Current iteration 300000 exceeds cumulative_periods #27

Open
lmc2000 opened this issue Jul 16, 2024 · 0 comments
Open

Current iteration 300000 exceeds cumulative_periods #27

lmc2000 opened this issue Jul 16, 2024 · 0 comments

Comments

@lmc2000
Copy link

lmc2000 commented Jul 16, 2024

Traceback (most recent call last):
File "tools/train.py", line 146, in
main()
File "tools/train.py", line 135, in main
train_model(
File "/home/www/application/models/CLIP-IQA/mmedit/apis/train.py", line 106, in train_model
_non_dist_train(
File "/home/www/application/models/CLIP-IQA/mmedit/apis/train.py", line 362, in _non_dist_train
runner.run(data_loaders, cfg.workflow, cfg.total_iters)
File "/home/www/application/miniconda3/envs/clipiqa/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 134, in run
iter_runner(iter_loaders[i], **kwargs)
File "/home/www/application/miniconda3/envs/clipiqa/lib/python3.8/site-packages/mmcv/runner/iter_based_runner.py", line 60, in train
self.call_hook('before_train_iter')
File "/home/www/application/miniconda3/envs/clipiqa/lib/python3.8/site-packages/mmcv/runner/base_runner.py", line 309, in call_hook
getattr(hook, fn_name)(self)
File "/home/www/application/miniconda3/envs/clipiqa/lib/python3.8/site-packages/mmcv/runner/hooks/lr_updater.py", line 140, in before_train_iter
self.regular_lr = self.get_regular_lr(runner)
File "/home/www/application/miniconda3/envs/clipiqa/lib/python3.8/site-packages/mmcv/runner/hooks/lr_updater.py", line 75, in get_regular_lr
_lr_group = [
File "/home/www/application/miniconda3/envs/clipiqa/lib/python3.8/site-packages/mmcv/runner/hooks/lr_updater.py", line 76, in
self.get_lr(runner, _base_lr)
File "/home/www/application/miniconda3/envs/clipiqa/lib/python3.8/site-packages/mmcv/runner/hooks/lr_updater.py", line 387, in get_lr
idx = get_position_from_periods(progress, self.cumulative_periods)
File "/home/www/application/miniconda3/envs/clipiqa/lib/python3.8/site-packages/mmcv/runner/hooks/lr_updater.py", line 415, in get_position_from_periods
raise ValueError(f'Current iteration {iteration} exceeds '

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