Model train problem

After train my network,it can get loss but stop with usewarning:couldn’t retrieve source code for container of type objectname.It won’t be checked for correctness upon loading.
I can’t find any solution.