How to predict only one test sample in pytorch model?

Sure.

For getting deterministic results, you need to set the seed.

Refer to this post: Reproducibility with all the bells and whistles

1 Like