Pytorch_Retinaface icon indicating copy to clipboard operation
Pytorch_Retinaface copied to clipboard

Should I change the learning rate according to different GPU nums?

Open xzxedu opened this issue 5 years ago • 3 comments
trafficstars

Hi, many thanks for your work! May I ask will the training setting learning rate be changed automatically when I set different gpu number via CUDA_VISIBLE_DEVICES and ngpu in data/config.py? Is there anything else I need to change?

xzxedu avatar Nov 09 '20 04:11 xzxedu

Hello,I also want to know this question,Do you solve it?

S201961152 avatar Dec 21 '20 00:12 S201961152

You don't need to change the learning rate if you don't change the batch size.

xzxedu avatar Dec 21 '20 15:12 xzxedu

I changed the batchsize,and then how can I change the learning rate?

                            1663678924
                        
                
                    
                        
                                邮箱:[email protected]
                        
                    
            
        
    On 12/21/2020 23:23, Zixiao Xing wrote: 

You don't need to change the learning rate if you don't change the batch size.

—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/biubug6/Pytorch_Retinaface/issues/137#issuecomment-749029313", "url": "https://github.com/biubug6/Pytorch_Retinaface/issues/137#issuecomment-749029313", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

S201961152 avatar Dec 21 '20 15:12 S201961152