mmsegmentation icon indicating copy to clipboard operation
mmsegmentation copied to clipboard

How to fix the seed during Multi-GPU learning

Open catchyoo opened this issue 1 year ago • 1 comments

Hello!! I have some questions.

Is there a way to fix the seed number that appears in the Runtime environment information in the log every time I perform multi-GPU training? And does changing this seed number actually impact performance? I'm asking because the seed in the training logs of the models you provide keeps changing.

catchyoo avatar Nov 19 '23 07:11 catchyoo

Hi , use randomness = dict(seed=42) in the config to set the seed. Some models are sensitive to the seed while others are not. By default, no seed is set!

danishnazir avatar Nov 27 '23 20:11 danishnazir