File size: 2,197 Bytes
cdad419
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "prima-animal"
version = "0.1.7"
description = "PRIMA: 3D animal pose and shape estimation"
readme = "README.md"
requires-python = ">=3.10"

authors = [
  { name = "Xiaohang Yu", email = "xiaohang.yu@epfl.ch" },
  { name = "Ti Wang", email = "ti.wang@epfl.ch" },
  { name = "Mackenzie Weygandt Mathis", email = "mackenzie.mathis@epfl.ch" },

]

keywords = ["3d", "animal", "pose", "shape", "vision", "pytorch"]

classifiers = [
  "Programming Language :: Python :: 3",
  "Programming Language :: Python :: 3.10",
  "Intended Audience :: Science/Research",
  "Topic :: Scientific/Engineering :: Artificial Intelligence",
]

dependencies = [
  # Core
  "numpy==1.26.1",
  "pandas==2.3.2",

  # Vision & geometry
  "opencv-python==4.11.0.86",
  "pyrender==0.1.45",
  "open3d==0.19.0",
  "trimesh==4.8.2",
  "scikit-image==0.25.2",
  "mmcv==1.3.9",

  # Model components
  "smplx==0.1.28",
  "yacs==0.1.8",
  "timm==1.0.24",
  "einops==0.8.1",
  "xtcocotools==1.14.3",
  "open_clip_torch==3.2.0",
  "transformers==4.57.0",

  # Config & utilities
  "omegaconf==2.3.0",
  "hydra-core==1.3.2",
  "hydra-submitit-launcher==1.2.0",
  "hydra-colorlog==1.2.0",
  "pyrootutils==1.0.4",
  "rich==14.1.0",

  # IO / misc
  "gdown==5.2.0",
  # Match HF Space (Gradio 6.x) and local demo; do not pin 5.1 — Space injects gradio==6.x.
  "gradio>=5.1,<7",
  "pydantic>=2.10,<3",

  # Training framework
  "pytorch-lightning==2.5.5",

  # Build/runtime helpers needed for older mmcv installation flows
  "setuptools<81",
  "packaging<25",
  "Cython<3",
  "wheel",

  # Demo runtime dependencies (included in main PyPI install)
  "detectron2 @ git+https://github.com/facebookresearch/detectron2.git",
  "deeplabcut==3.0.0rc14",
]

[project.optional-dependencies]
all = []

[project.urls]
Homepage = "https://github.com/AdaptiveMotorControlLab/PRIMA"
Source = "https://github.com/AdaptiveMotorControlLab/PRIMA"
Issues = "https://github.com/AdaptiveMotorControlLab/PRIMA/issues"

[tool.setuptools]
include-package-data = true

[tool.setuptools.packages.find]
where = ["."]
include = ["prima*", "chumpy*"]