K-fold file splitting for segmentation networks like U-net

Source file structure->data
---->images
---->mask
Destination file structure->data-->dir1
------>test
----------->image
----------->mask
------>train
----------->image
----------->mask
-->dir2
------>test
----------->image
----------->mask
------>train
----------->image
----------->mask
.
.
.
.
Loop for segregating the file names

--

--

--

Phd student, Deep learning Engineer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to Build a Predictive Machine Learning Site With React and Python

Mental Health and Machine Learning: CatBoost and Attempted Suicide on the Forever Lonely data set.

Solving Facial Expression Recognition using TensorFlow 2.0 and VGG-16

Detecting Fake News with Python and Machine Learning

Fake News Disambiguation: Why Is It Fake?

Deploy your first ML model live on WEB (Part 1)

XGBoost: Predicting Life Expectancy with Supervised Learning

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Subin E.K

Subin E.K

Phd student, Deep learning Engineer

More from Medium

Global average pooling

Introduction to CNN Architecture

Breast cancer image analytics using Transfer Learning in HPC — GPU Platform

Metric Learning for Steel Surface Classification — Part 1

Coils of hot-rolled stainless steel after rolling.