Downloads · 30 days
5
21% of all-time downloads
sensein/Mouse_ProSAP1_Shank2_Male_Female_Oestrus_Interaction
Mouse_ProSAP1_Shank2_Male_Female_Oestrus_Interaction is a machine learning model from sensein. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Deep learning model for detecting ultrasonic vocalizations (USVs) in mouse recordings from male-oestrus female social interactions.
Downloads · 30 days
5
21% of all-time downloads
All-time downloads
24
Public
Repo size
41.9 MB
Likes
0
Public
Click a slice to open those files.
.pth41.9 MB · 100%
From the Hugging Face model README
Deep learning model for detecting ultrasonic vocalizations (USVs) in mouse recordings from male-oestrus female social interactions.
import torch
from model_architecture import load_model
from inference_example import predict
# Load model
model = load_model('final_usv_model.pth')
# Predict on audio file
result = predict('audio.wav', model)
print(f"USV: {result['is_usv']}, Confidence: {result['confidence']:.2%}")
pip install torch numpy librosa scipy
final_usv_model.pth - Trained model weights (41.9 MB)model_architecture.py - CNN architecture definitioninference_example.py - Example inference codeconfig.json - Model configuration and metadatarequirements.txt - Python dependenciesIf you use this model, please cite:
@misc{usv_detector_prosap1_shank2,
title={Mouse USV Detector for ProSAP1/Shank2 Social Interactions},
author={Your Name},
year={2025},
publisher={Hugging Face},
howpublished={\url{https://huggingface.co/your-username/model-name}}
}
[Specify your license here]
Based on the DeepSqueak methodology for USV detection:
[Your contact information]