Python data.create_dataloader() Examples
The following are 2
code examples of data.create_dataloader().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
data
, or try the search function
.
Example #1
Source File: solvers.py From ganimation_replicate with MIT License | 5 votes |
def init_train_setting(self): self.train_dataset = create_dataloader(self.opt) self.train_model = create_model(self.opt) self.train_total_steps = 0 self.epoch_len = self.opt.niter + self.opt.niter_decay self.cur_lr = self.opt.lr
Example #2
Source File: solvers.py From ganimation_replicate with MIT License | 5 votes |
def init_test_setting(self, opt): self.test_dataset = create_dataloader(opt) self.test_model = create_model(opt)