yolact icon indicating copy to clipboard operation
yolact copied to clipboard

Apply different lr scheduler of pytorch for yolact++

Open Elizbellou opened this issue 2 years ago • 2 comments

Hello, I would like to change the default lr scheduler for yolact using one of the pytorch lr schedulers in an attempt to improve mAP (I use September's update yolact++ with custom dataset). So, in which file should I make changes and which lines? Thank u in advance for your help

Elizbellou avatar Feb 16 '22 08:02 Elizbellou

@Elizbellou did you find any solution for this?

JayParikh20 avatar Oct 23 '22 04:10 JayParikh20

@Elizbellou did you find any solution for this?

Sorry, for the delay.aybe you've already found a solution. I didn't exactly used a lr scheduler algorithm, however by just changing lr and lr steps according to max iterations in the config file, it raised mAP about 2-4%. By default it multiplies lr0 with 0.1 at every lr step, if I remember well.. So, to your question if you find the file where this math equation is defined, u can change that with your own schedule. If changes to other files are required I guess it will bring up an error so you go along and fix it.

Elizbellou avatar Nov 22 '22 13:11 Elizbellou