Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LuChengTHU/dpm-solver
/ prepare_data
Method
prepare_data
examples/stable-diffusion/main.py:185–187 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
183
self.wrap = wrap
184
185
def
prepare_data(self):
186
for
data_cfg in self.dataset_configs.values():
187
instantiate_from_config(data_cfg)
188
189
def
setup(self, stage=None):
190
self.datasets = dict(
Callers
1
main.py
File · 0.80
Calls
1
instantiate_from_config
Function · 0.90
Tested by
no test coverage detected