Skip to main content

Add your description here

Project description

Fixerpy helper to clone/build/run the NVIDIA Fixer container and run inference on example images.

Usage requires Docker (with GPU support for best performance) and the uv tool.

Quickstart

  • Clone + build + download weights + run inference on Fixer examples:
    • uv run fixer

Details

  • What uv run fixer does:
    • Clones https://github.com/nv-tlabs/Fixer.git into .fixer_work/Fixer (if missing)
    • Builds the Docker image from Dockerfile.cosmos with tag fixer-cosmos-env
    • Downloads model weights via hf download nvidia/Fixer --local-dir models into the cloned repo
    • Runs the container per Fixer README, mounting the repo to /work and invoking the inference script on example images:
      • python /work/src/inference_pretrained_model.py --model /work/models/pretrained/pretrained_fixer.pkl --input /work/input --output /work/output --timestep 250
    • Outputs are saved to ./output (relative to current working directory)

CLI options

  • --dest-root PATH: Working directory (default: .fixer_work)
  • --input PATH: Input directory (default: <dest-root>/Fixer/examples)
  • --output PATH: Output directory (default: ./output)
  • --timestep INT: Inference timestep (default: 250)
  • --batch-size INT: Batch size (default: 1)
  • --test-speed: Run speed benchmark before inference
  • --no-gpus: Disable GPU pass-through for the container
  • --platform linux/amd64|linux/arm64: Build target platform (auto-detected by default)

Examples

  • Run with defaults (examples → output):
    • uv run fixer
  • Run with custom input/output:
    • uv run fixer --input /path/to/images --output /path/to/out --timestep 250
  • Force platform (for cross-arch hosts or when needed):
    • uv run fixer --platform linux/amd64

Notes

  • This project uses Docker and the Fixer README’s recommended /work mount layout.
  • Weights are downloaded to .fixer_work/Fixer/models via Hugging Face CLI.
  • Ensure your Docker supports GPU (--gpus all) if you want GPU acceleration.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fixerpy-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fixerpy-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file fixerpy-0.1.0.tar.gz.

File metadata

  • Download URL: fixerpy-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fixerpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 643c2ba56cbbf5ba55e5dc52b067db0f4f5a1b32e91d84bd401418b189fad0f9
MD5 6b029083d90378e56548a1b17eb7b564
BLAKE2b-256 28393f9db662e8a35de7f897848cdefa2dd8c1d8882675017a3f43657a46b2f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for fixerpy-0.1.0.tar.gz:

Publisher: publish.yml on hakuturu583/fixerpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fixerpy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fixerpy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fixerpy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4cc4cb55e43b5481e7899f9dc0ffff55e4d59a6c928560d3dec5909db2adc46
MD5 27c137c19742f6bab446e5404a989d2b
BLAKE2b-256 df66d74f832a95af9ce2383e32f54c44ce2d7bcf1e66c7284c608ea953352356

See more details on using hashes here.

Provenance

The following attestation bundles were made for fixerpy-0.1.0-py3-none-any.whl:

Publisher: publish.yml on hakuturu583/fixerpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page