Libtorch None Model

I try to save a model in pytorch and load in c++. I followed Pytorch Tutorial and a nice blog. Everything was done but when trying to load model, model comes None. Codes cannot pass this: assert(module != nullptr);. How can i handle that?

I could not handle yet. Is there any idea?