MCPcopy Create free account
hub / github.com/MotrixLab/ADHMR / _init_fn

Function _init_fn

ADHMR/lib/utils/function.py:27–29  ·  view source on GitHub ↗
(worker_id)

Source from the content-addressed store, hash-verified

25from dataset.InstaVariety import InstaVariety
26
27def _init_fn(worker_id):
28 np.random.seed(123)
29 random.seed(123)
30
31def get_dataloader(config, is_train = True):
32 if is_train:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected