IceClear / CLIP-IQA

[AAAI 2023] Exploring CLIP for Assessing the Look and Feel of Images
Other
342 stars 20 forks source link

Current iteration 300000 exceeds cumulative_periods #27

Open lmc2000 opened 4 months ago

lmc2000 commented 4 months ago

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 '