Solved by ptrblck in post #2 
              
              
                I guess the other .py file doesn’t use a guard such as if __name__ == "__main__", but executes code in the global space directly. If that’s the case, move the executable code (which would start the training) into the if-clause protection. 


Make sure all model parameters as well as the inputs and…