MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / init_random_seed

Function init_random_seed

mmdet/apis/train.py:19–49  ·  view source on GitHub ↗

Initialize random seed. If the seed is not set, the seed will be automatically randomized, and then broadcast to all processes to prevent some potential bugs. Args: seed (int, Optional): The seed. Default to None. device (str): The device where the seed will be put on.

(seed=None, device='cuda')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected