There will be User Warning: Duplicate name W and User Warning: Duplicate name b while I dumping my SdA model using theano.misc.pkl_utils.dump. And I found that a SdA model cannot be loaded correctly because of the duplicate name of variables W and b.
So is it necessary to use different name for each theano tensor W and b in model classes? In fact, that's the way I solve the problem mentioned above.