All models

PIE v2

A network that embeds photos of animal markings so individual animals can be re-identified.

Image classification · 177 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (19 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
24.6M
Operations
177
Framework
PyTorch
Recurrent
No
Published
Digital Image Computing: Techniques and Applications (arXiv 2019)
Cited by
48 (as of 27 October 2026)
Authors
Olga Moskvyak, Frederic Maire, Asia O. Armstrong and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19124
Graph hash
b7e5254c7b443bbb2912f5dc892e39d47cf04f5f9187445a386894439f8765f8
Skeleton hash
74105979c0c007fd2ed8e4c4ccdf0c621ffe93a66e0e6a691d7526fe6076a01d
Architecture hash
5191c6bb7a8bb0bd476c0d79919ed3f2c7f159b0015af93ca72c6a3dac1fd13f
Diagram SHA-256
4c12a223082d1ff900eb6328b9ab77330e3c11ec196941b5bf368e16523c50c6
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

PIE v2 is a Pose Invariant Embedding re-identification plug-in, part of the WildMe / Wildbook IA project. It identifies individual wild animals from their unique natural body markings, and is a PyTorch update of an earlier implementation. The paper behind the method describes the need: photo databases of animal markings keep growing, and each new observation has to be matched against thousands of images.

The method adapts techniques from face re-identification, training a convolutional network to produce embeddings for images of natural markings. The distance between two embeddings then measures how dissimilar the two images are. Training uses the triplet loss function with online semi-hard triplet mining.

The paper evaluated the system on image databases of manta ray belly patterns and humpback whale flukes. It sets a top-10 accuracy of at least 95% as the level needed for adoption by marine biologists. The PyTorch code is adapted from the TorchReid library for person re-identification.

Key idea. The paper presents a re-identification system that learns embeddings of natural animal markings with a triplet loss and is robust to occlusions, viewpoint and illumination changes.

  • pie v2
  • pose invariant embedding
  • wbia-plugin-pie-v2
  • animal re-identification
  • wildlife re-identification
  • photo identification
  • triplet loss
  • manta ray
  • humpback whale
  • wildbook

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{moskvyak2019robustreidentificationmantarays,
      title={Robust Re-identification of Manta Rays from Natural Markings by Learning Pose Invariant Embeddings}, 
      author={Olga Moskvyak and Frederic Maire and Asia O. Armstrong and Feras Dayoub and Mahsa Baktashmotlagh},
      year={2019},
      eprint={1902.10847},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1902.10847}, 
}