Low accuracy using my own implemented resnet on cifar100

Hi,everyone, Im kind new to pytorch, or any deep learning frameworks. I wrote my own residual network, and trained on cifar100 dataset, but the accuracy was around 1%, basically like random guess.
here is my github repo:

here is my resnet.py file:

here is my train.py file:

Im using python3.5 and pytroch 0,31

so could you please tell me where the bug is, or how can I find the bug in a neuron network in general, or
just some hints, anything would be helpful.

thanks in advance, have a nice day.

never mind, only trained for one epoch caused the problem.