Load problem of AttributeError: 'module' object has no attribute 'Activation_Net'

I have saved a fnn model already, but When I load it ,a error come out !
AttributeError: ‘module’ object has no attribute ‘Activation_Net’

“Activation_Net” is a class I have defined in my code
anyone can tell me how to solve it? Thanks!

Can you show me the whole code? I guess you are loading the module produced by a different code.

Do you find the correct answer for this error? I also encounter the same problem. Could you give me a tip to resolve it? Thank you.

YEAH! I forget to write the define code of my module on the load code