Solved by tianle-BigRice in post #2 
              
              
                I solved the problem，This works when I use prefix = self.model_name + ‘_’ .So I created the folder checkpoints. And then it didn’t go wrong. This is so strange