MCPcopy Create free account
hub / github.com/RenderKit/oidn / main

Function main

training/train.py:25–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23from util import *
24
25def main():
26 # Parse the command line arguments
27 cfg = parse_args(description='Trains a model using preprocessed datasets.')
28
29 # Start the worker(s)
30 start_workers(cfg, main_worker)
31
32# Worker function
33def main_worker(rank, cfg):

Callers 1

train.pyFile · 0.70

Calls 2

parse_argsFunction · 0.85
start_workersFunction · 0.85

Tested by

no test coverage detected