MCPcopy Create free account
hub / github.com/TencentARC/FreeSplatter / parse_3d_args

Function parse_3d_args

freesplatter/webui/parameters.py:134–140  ·  view source on GitHub ↗
(args, kwargs)

Source from the content-addressed store, hash-verified

132
133
134def parse_3d_args(args, kwargs):
135 nerf_mesh_kwargs = {
136 k: kwargs[k] if k in kwargs else args.pop(0) for k in nerf_mesh_defaults.keys()}
137 superres_kwargs = {
138 k: kwargs['superres_' + k] if 'superres_' + k in kwargs else args.pop(0) for k in superres_defaults.keys()}
139 init_images = args
140 return nerf_mesh_kwargs, superres_kwargs, init_images
141
142
143def parse_2d_args(args, kwargs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected