I tried to load an old pytorch version built model in pytorch 0.4 but I recieved this error on accessing the layers of model :
python3.6/site-packages/torch/nn/modules/batchnorm.py", line 53, in extra_repr
    'track_running_stats={track_running_stats}'.format(**self.__dict__)
KeyError: 'track_running_stats'

I was able to successfully load my model in pytorch 0.3 (or 0.3.1)
Any idea how to load the model in 0.4 or I need to revert pytorch version back???
Also this seems to be a batchnorm issue, my model loads correctly, and I can access fully connected layer as well!