MCPcopy
hub / github.com/yerfor/GeneFacePlusPlus / load

Method load

modules/eg3ds/metrics/metric_utils.py:174–179  ·  view source on GitHub ↗
(pkl_file)

Source from the content-addressed store, hash-verified

172
173 @staticmethod
174 def load(pkl_file):
175 with open(pkl_file, 'rb') as f:
176 s = dnnlib.EasyDict(pickle.load(f))
177 obj = FeatureStats(capture_all=s.capture_all, max_items=s.max_items)
178 obj.__dict__.update(s)
179 return obj
180
181#----------------------------------------------------------------------------
182

Callers 15

get_pluginFunction · 0.80
get_feature_detectorFunction · 0.80
__init__Method · 0.80
load_state_dictFunction · 0.80
__getitem__Method · 0.80
t-sne.pyFile · 0.80
get_intrinsicMethod · 0.80
get_extrinsicMethod · 0.80
librosa_wav2specFunction · 0.80
librosa_wav2mfccFunction · 0.80

Calls 2

FeatureStatsClass · 0.85
updateMethod · 0.45

Tested by

no test coverage detected