Downloads Β· 30 days
0
saikAIML/ivf
ivf is a machine learning model from saikAIML. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This project is a recreation of the STORK repository Github Link to STORK used for embryo classification.
Downloads Β· 30 days
0
Access
Public
Updated Feb 26, 2025
Repo size
660 MB
Likes
1
Public
Click a slice to open those files.
.data-00000-of-00001336 MB Β· 50%
From the Hugging Face model README
This project is a recreation of the STORK repository Github Link to STORK used for embryo classification.
Infertility is a clinical condition characterized by an inability to conceive after one year or longer of unprotected sex. In vitro fertilization (IVF) is a type of assistive reproductive technology (ART) for infertility treatment and surrogacy.
This project aims to use machine learning to classify embryos as "good" or "poor" based on their quality, improving IVF success rates and reducing human error in embryo selection.
<p align="center"> <img width="100%" src="https://www.pfcla.com/hubfs/infographic-1.svg"> </p>This project requires Python and Conda for setting up the environment.
Clone the repository:
git clone https://huggingface.co/saikAIML/ivf
cd ivf
Install Conda (if not already installed).
Follow the instructions at Miniconda Installation.
Create and activate the Conda environment:
conda create -n embryo-env python=3.7
conda init
conda activate embryo-env
Install required dependencies:
pip install -r requirements.txt
βΆοΈ Steps to Follow
The model is already trained on Inception-V1 with the dataset and the weights are available at scripts/slim/result this is if you want use a different model
python convert.py ../Images/train process/ 0
load_inception_v1.sh to set correct paths../run/load_inception_v1.sh
OR use Python:
python train_image_classifier.py --train_dir=scripts/result --dataset_name=embryo --dataset_split_name=train --dataset_dir=scripts/process --model_name=inception_v1 --checkpoint_path=run/checkpoint/inception_v1.ckpt --checkpoint_exclude_scopes=InceptionV1/Logits --max_number_of_steps=5000 --batch_size=32 --learning_rate=0.01 --save_interval_secs=100 --save_summaries_secs=100 --log_every_n_steps=300 --optimizer=rmsprop --weight_decay=0.00004 --clone_on_cpu=True
Navigate to the slim directory:
cd scripts/slim
Run the test script:
python tst.py
To test different images, modify tst.py:
tst.py in a text editor.predict_image_label.Example:
from pred import predict_image_label
print("**************", predict_image_label("result", "../../Images/test/good_23765483_-15_3AA.jpg", "v1"), "**************")
python tst.py
We use a Deep Neural Network (DNN) for embryo image analysis based on Googleβs Inception-V1 architecture. The pre-trained STORK framework helps classify embryos into good or poor categories.
The dataset is divided as follows:
π©βπ Anjana Padikkal Veetil
π§ AP202@myscc.ca | GitHub
π©βπ Nobin Ann Mathew
π§ NM91@myscc.ca | GitHub
π¨βπ Santosh Kumar Kantimahanti Lakshmi
π§ SK602@myscc.ca | GitHub
π¨βπ Amal Mathew
π§ AM252@myscc.ca | GitHub
π― Final Notes:
tst.py to test with different images.π‘ This project was developed as part of the Data Analytics for Business (May 2021) course at St. Clair College.