Open a554b554 opened 5 years ago
In gan.py line 401, data_ids = np.random.choice(train_size, opts['batch_size'], replace=False, p=self._data_weights) Why use replace=False here?
Well, I guess sampling minibatches with and without replacements are both common approaches. Here we used without replacements.
In gan.py line 401, data_ids = np.random.choice(train_size, opts['batch_size'], replace=False, p=self._data_weights) Why use replace=False here?