What is the best way to apply k-fold cross validation in CNN?

Have a look at Skorch. It’s a scikit-learn compatible wrapper for PyTorch.
scikit itself offers a lot of cross-validation methods. :wink:

16 Likes