Open manu123416 opened 1 year ago
Hi manu123416,
As shown here: https://github.com/mit-han-lab/torchquantum/blob/772f0f78a7db50c9f09c866f5bc9e20fed7066c8/torchquantum/datasets/mnist.py#L194 the real digits will be converted to relative digit. This will make it more convenient for cross entropy loss training
For more data, could you try change the n_train_samples = 75 and see whether more data are used in training set?
Thank you Hanui-Wang for response. I tested it by putting n_train_samples = 75, but it doesnot increase the data for training and reduces the training data to 1.
Hi , I tried testing your quantum neural network code on jupyter notebook. I think, there is some bug in the training data.
data_train= dataset['train'][0]