The classifier predicts labels randomly

I use AlexNet to run the cifar-10 dataset and I encounter a problem. The accuracy may be 10% with no change as training. Its seems that the classifier just randomly predicts the labels. I wonder how to fix this problem

Please add a code example explaining what you are doing.