Solved by richard in post #2 
              
              
                You could probably extend or modify the MNIST dataset to only include train/test data with labels from 0-8 in the __init__ method.