Downloads · 30 days
0
Ecoaetix/DroneStalker
DroneStalker is a machine learning model from Ecoaetix. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Downloads · 30 days
0
Access
Public
Updated Dec 20, 2025
Repo size
2.5 MB
Likes
0
Public
Click a slice to open those files.
.gif2.5 MB · 96%
From the Hugging Face model README

LSTM model for predicting drone trajectories based on bounding box sequences from video footage.
This model predicts future drone positions given past trajectory data. It processes sequences of bounding boxes and outputs predicted future positions, significantly outperforming baseline models on the FRED dataset.
Drone Stalker 1 is an extremely lightweight model with just 2,224 parameters. Despite this, its performance is on par with other models of up to 300k parameters.
Predicted future bounding boxes (normalized [0, 1])
Evaluation metrics on test set:

import torch
# Load the model
model = torch.hub.load_state_dict_from_url(
'https://huggingface.co/Ecoaetix/DroneStalker/resolve/main/dronestalker-1.1.pth'
)
# Or download and load manually
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(
repo_id="Ecoaetix/DroneStalker",
filename="dronestalker-1.1.pth"
)
# You'll need the Model class (included as model.py in this repo)
from DroneStalker import Model
model = Model(Np=12, Nf=12, hidden_dim=16, num_layers=1, dropout=0)
model.load_state_dict(torch.load(model_path))
model.eval()
# Inference
with torch.no_grad():
# Input: [batch_size, 12, 4] - 12 past bounding boxes [x1, y1, x2, y2]
predictions = model(past_bboxes)
# Output: [batch_size, 12, 4] - 12 future bounding boxes (min-max normalized)
The model expects input bounding boxes in pixel coordinates:
[batch_size, 12, 4][x1, y1, x2, y2] where (x1,y1) is top-left, (x2,y2) is bottom-rightThe model outputs normalized predictions:
[batch_size, 12, 4][x1_norm, y1_norm, x2_norm, y2_norm] where values are in range [0, 1]@misc{DroneStalker-LSTM-0.3,
author = {Jacob Kenney},
title = {DroneStalker-LSTM-0.3},
year = {2025},
publisher = {HuggingFace},
howpublished = {\url{https://huggingface.co/Ecoaetix/DroneStalker}}
}
Apache 2.0