You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was used normally. But the hook is suddenly unavailable. What is the cause of this? Thank you ~ ~
2022-10-30 21:33:00,075 - mmdet - INFO - Automatic scaling of learning rate (LR) has been disabled.
Traceback (most recent call last):
File "tools/train.py", line 244, in
main()
File "tools/train.py", line 233, in main
train_detector(
File "/home/liuxx/lxx2252/mmdet/apis/train.py", line 192, in train_detector
runner.register_training_hooks(
File "/home/liuxx/anaconda3/envs/lxx2252/lib/python3.8/site-packages/mmcv/runner/base_runner.py", line 560, in register_training_hooks
self.register_lr_hook(lr_config)
File "/home/liuxx/anaconda3/envs/lxx2252/lib/python3.8/site-packages/mmcv/runner/base_runner.py", line 431, in register_lr_hook
self.register_hook(hook, priority='VERY_HIGH')
File "/home/liuxx/anaconda3/envs/lxx2252/lib/python3.8/site-packages/mmcv/runner/base_runner.py", line 278, in register_hook
assert isinstance(hook, Hook)
AssertionError
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
It was used normally. But the hook is suddenly unavailable. What is the cause of this? Thank you ~ ~
2022-10-30 21:33:00,075 - mmdet - INFO - Automatic scaling of learning rate (LR) has been disabled.
Traceback (most recent call last):
File "tools/train.py", line 244, in
main()
File "tools/train.py", line 233, in main
train_detector(
File "/home/liuxx/lxx2252/mmdet/apis/train.py", line 192, in train_detector
runner.register_training_hooks(
File "/home/liuxx/anaconda3/envs/lxx2252/lib/python3.8/site-packages/mmcv/runner/base_runner.py", line 560, in register_training_hooks
self.register_lr_hook(lr_config)
File "/home/liuxx/anaconda3/envs/lxx2252/lib/python3.8/site-packages/mmcv/runner/base_runner.py", line 431, in register_lr_hook
self.register_hook(hook, priority='VERY_HIGH')
File "/home/liuxx/anaconda3/envs/lxx2252/lib/python3.8/site-packages/mmcv/runner/base_runner.py", line 278, in register_hook
assert isinstance(hook, Hook)
AssertionError
Beta Was this translation helpful? Give feedback.
All reactions