Skip to main content

Drosophila 2D Pose

  • Load the model.
from model import Drosophila2DPose
from parser import create_parser

checkpoint_path = '/home/user/Desktop/DeepFly3D/weights/sh8_deepfly.tar'
args = create_parser().parse_args('')
model = Drosophila2DPose(checkpoint_path=checkpoint_path, **args.__dict__).cuda()
  • Load the data.
from inference import path2inp
from dataset import Drosophila2Dataset
from torch.utils.data import DataLoader

image_path = '/home/user/Desktop/DeepFly3D/data/test/'
inp = path2inp(image_path) # extract list of images under the folder
dat = DataLoader(Drosophila2Dataset(inp), batch_size=8)
  • Do the inference.
from inference import inference
points2d = inference(model, dat)

Metadata

Release files for df2d 0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for df2d 0.15
File Size Uploaded Provenance Actions
df2d-0.15.tar.gz 7.4 kB Without provenance Details for df2d-0.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for df2d 0.15
File Interpreter ABI Platform Actions
df2d-0.15-py3-none-any.whl Python 3 none any Details for df2d-0.15-py3-none-any.whl

Total release size: 16.5 kB

Release files / df2d-0.15.tar.gz

Download URL df2d-0.15.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e5073c55b3de5968dc782363a212ce4e77ff2e705682a530a76a80e3f7414af4
BLAKE2b-256 checksum
How to use checksums
20fadc3ade7923737c56c541cfffbb19328265e4fe484d7e64e9383b24fe4e30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.4

Release files / df2d-0.15-py3-none-any.whl

Download URL df2d-0.15-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6109ba989a4e71922083b9e038fd186820a165211fc61218b47b91d8e74cf2e
BLAKE2b-256 checksum
How to use checksums
d70c688290be924fa416a0f39767754afe765a12067d34e68b6a12f48fcafb56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.4

Security for df2d 0.15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page