As in MNIST to choose only a certain number (e.g. all zeroes)?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
21 views
Please tell me how (if even possible) to choose from MNIST database for training only a specific number?
You need to choose only zeros for learning DCGAN.
by | 21 views

1 Answer

0 like 0 dislike
from sklearn import datasets # load only one class from 10 possible mnist = datasets.load_digits(n_class=1) X_train = mnist.images y_train = mnist.target
by
110,608 questions
257,187 answers
0 comments
40,796 users