Fetalnav
Fetal Region Localisation using PyTorch and Soft Proposal Networks (paper: https://arxiv.org/abs/1808.00793)
Install / Use
/learn @ntoussaint/FetalnavREADME
Fetal Region Detection using PyTorch and Soft Proposal Networks
PyTorch implementation of the paper 'Weakly Supervised Localisation for Fetal Ultrasound Images', DLMIA'18

Abstract
This work addresses the task of detecting and localising fetal anatomical regions in 2D ultrasound images, where only image-level labels are present at training, i.e. without any localisation or segmentation information. We examine the use of convolutional neural network architectures coupled with soft proposal layers. The resulting network simultaneously performs anatomical region detection (classification) and localisation tasks. We generate a proposal map describing the attention of the network for a particular class. The network is trained on 85,500 2D fetal ultrasound images and their associated labels. Labels correspond to six anatomical regions: head, spine, thorax, abdomen, limbs, and placenta. Detection achieves an average accuracy of 90% on individual regions, and show that the proposal maps correlate well with relevant anatomical structures. This work presents itself as a powerful and essential step towards subsequent tasks such as fetal position and pose estimation, organ-specific segmentation, or image-guided navigation.
Requirements
Usage
-
Install via pip:
[sudo] pip install git+https://github.com/ntoussaint/fetalnav.git -
Or fom source
git clone https://github.com/ntoussaint/fetalnav.git cd fetalnav [sudo] python setup.py install
Notebook examples
Datasets and Transforms
Test the dataset loaders (using SimpleITK) and the different transforms

Train fetalnav
Train your own fetalnav network and experiment with hyperparameter tuning

Evaluate fetalnav
Use the network to infer the region and localise regions in the image

Supplementary material
A significant part of the training material for this study was produced using an in-house labelling tool that is available [here]:

Citation
If you use this code in your research, please cite:
@inproceedings{toussaint.dlmia.18,
author = {Toussaint, Nicolas and Khanal, Bishesh and Sinclair, Matthew and Gomez, Alberto and Skelton, Emily and Matthew, Jacqueline and Schnabel, Julia A.},
title = {Weakly Supervised Localisation for Fetal Ultrasound Images},
booktitle = {Proceedings of the 4th Workshop on Deep Learning in Medical Image Analysis},
year = {2018},
note={\href{https://arxiv.org/abs/1808.00793}{[url]}}
}
Acknowledgement
This work was supported by the Wellcome/EPSRC Centre for Medical Eng. [WT203148/Z/16/Z], and the Wellcome IEH Award [102431]
Author
Nicolas Toussaint, PhD
School of Biomedical Engineering,
King's College London
Contact: nicolas.a.toussaint@kcl.ac.uk nicolas.toussaint@gmail.com
Related Skills
claude-opus-4-5-migration
109.7kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
349.7kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
51.0k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
mcp-for-beginners
15.8kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
