While loading my network:
net=torch.load('net.txt')
I get the following error:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
 in ()
----> 1 net=torch.load(‘net.txt’)
/home/sarthak/anaconda2/lib/python2.7/site-packages/torch/serialization.pyc in load(f, map_location, pickle_module)
    246         f = open(f, 'rb')
    247     try:
--> 248         return _load(f, map_location, pickle_module)
    249     finally:
    250         if new_fd:

/home/sarthak/anaconda2/lib/python2.7/site-packages/torch/serialization.pyc in _load(f, map_location, pickle_module)
    344         unpickler = pickle_module.Unpickler(pickle_file)
    345         unpickler.persistent_load = persistent_load
--> 346         result = unpickler.load()
    347         return result

AttributeError: 'module' object has no attribute 'convNet'