MCPcopy Create free account
hub / github.com/cvlab-epfl/MeshSDF / build_decoder

Function build_decoder

lib/workspace.py:88–98  ·  view source on GitHub ↗
(experiment_directory, experiment_specs)

Source from the content-addressed store, hash-verified

86
87
88def build_decoder(experiment_directory, experiment_specs):
89
90 arch = __import__(
91 "networks." + experiment_specs["NetworkArch"], fromlist=["Decoder"]
92 )
93
94 latent_size = experiment_specs["CodeLength"]
95
96 decoder = arch.Decoder(latent_size, **experiment_specs["NetworkSpecs"]).cuda()
97
98 return decoder
99
100
101def load_decoder(

Callers 1

load_decoderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected