MCPcopy
hub / github.com/XingangPan/DragGAN / __init__

Method __init__

viz/pickle_widget.py:28–36  ·  view source on GitHub ↗
(self, viz)

Source from the content-addressed store, hash-verified

26
27class PickleWidget:
28 def __init__(self, viz):
29 self.viz = viz
30 self.search_dirs = []
31 self.cur_pkl = None
32 self.user_pkl = ''
33 self.recent_pkls = []
34 self.browse_cache = dict() # {tuple(path, ...): [dnnlib.EasyDict(), ...], ...}
35 self.browse_refocus = False
36 self.load('', ignore_errors=True)
37
38 def add_recent(self, pkl, ignore_errors=False):
39 try:

Callers

nothing calls this directly

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected