Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenGVLab/DragGAN
/ __init__
Method
__init__
draggan/deprecated/web.py:48–49 ·
view source on GitHub ↗
(self, **kwargs)
Source
from the content-addressed store, hash-verified
46
47
class
ModelWrapper:
48
def
__init__(self, **kwargs):
49
self.g_ema = stylegan2(**kwargs).to(device)
50
51
52
def
to_image(tensor):
Callers
nothing calls this directly
Calls
1
stylegan2
Function · 0.85
Tested by
no test coverage detected