MCPcopy Create free account
hub / github.com/OUCMachineLearning/OUCML / __init__

Method __init__

GAN/srgan_celebA/data_loader.py:8–10  ·  view source on GitHub ↗
(self, dataset_name, img_res=(128, 128))

Source from the content-addressed store, hash-verified

6matplotlib.use('Agg')
7class DataLoader():
8 def __init__(self, dataset_name, img_res=(128, 128)):
9 self.dataset_name = dataset_name
10 self.img_res = img_res
11
12 def load_data(self, batch_size=1, is_testing=False):
13 data_type = "train" if not is_testing else "test"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected