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
Version: mmdetection3d v1.4
During training, I want the learning rate of the image_backbone to remain at 0.1 times the base learning rate. Therefore, I set the following in the configuration file:
param_scheduler= [
# learning rate scheduler# During the first 8 epochs, learning rate increases from lr to lr * 100# during the next 12 epochs, learning rate decreases from lr * 100 to lrdict(
type='CosineAnnealingLR',
T_max=8,
eta_min=lr*100,
begin=0,
end=8,
by_epoch=True,
convert_to_iter_based=True),
dict(
type='CosineAnnealingLR',
T_max=12,
eta_min=lr,
begin=8,
end=20,
by_epoch=True,
convert_to_iter_based=True),
# momentum scheduler# During the first 8 epochs, momentum increases from 0 to 0.85 / 0.95# during the next 12 epochs, momentum increases from 0.85 / 0.95 to 1dict(
type='CosineAnnealingMomentum',
T_max=8,
eta_min=0.85/0.95,
begin=0,
end=8,
by_epoch=True,
convert_to_iter_based=True),
dict(
type='CosineAnnealingMomentum',
T_max=12,
eta_min=1,
begin=8,
end=20,
by_epoch=True,
convert_to_iter_based=True)
]
At the beginning, the learning rate of img_backbone is indeed 0.1 times the base learning rate:
Scheduler description
Version: mmdetection3d v1.4
During training, I want the learning rate of the image_backbone to remain at 0.1 times the base learning rate. Therefore, I set the following in the configuration file:
And set the param_scheduler:
At the beginning, the learning rate of img_backbone is indeed 0.1 times the base learning rate:
However, img_backbone's learning rate slowly caught up during the training process:
It looks like lr_mult only works at the beginning to set the learning rate. How can I make lr_mult work throughout the training process?
Open source status
Provide useful links for the implementation
https://github.com/open-mmlab/mmdetection3d/blob/fe25f7a51d36e3702f961e198894580d83c4387b/projects/BEVFusion/configs/bevfusion_lidar-cam_voxel0075_second_secfpn_8xb4-cyclic-20e_nus-3d.py
The text was updated successfully, but these errors were encountered: