Can you give an example code to illustrate the sequence of the process that you mentioned?
I am having the problem of using Batch normalization. The performance of my model drops significantly when running at inference mode (net.eval()).
I am looking forward to how to properly train and run the inference my model with Batch normalization with track_running_stats=False.  Could you give the guidance.