SpinTheMic
Pro

Interview practice question

Predictions change every time

Machine Learning · Deep Learning · Beginner

Your trained model gives different predictions for the same input each time you run it. What's wrong?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Model left in training mode: dropout active.
  • BatchNorm using batch statistics instead of running averages.
  • Call model.eval() for inference.
  • Use torch.no_grad() / inference mode.
  • Check for random augmentation at inference.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics