Skip to main content

IMDL template engine

Project description

owl-imdl

Python Version License: MIT

Installation (TestPyPI)

Currently, this package is available on TestPyPI. You can install it using the following command:

pip install -i https://test.pypi.org/simple/ owl-imdl

Manual Dependencies

To keep the package lightweight and flexible, this project does not enforce deep learning framework dependencies (to avoid version conflicts).

Please manually install the following dependencies according to your environment before use:

  1. PyTorch: Visit pytorch to get the command for your CUDA version.
  2. Other Essentials:
pip install numpy Pillow albumentations

Quick Start

Initialize a Project

Run the following command in any directory to generate a training script (e.g., my_project.py):

owl init

The generated template uses example/ as a placeholder dataset directory. Replace it with your own dataset path in actual use.

Dataset Structure

my_dataset/
├── gt/                 # Ground Truth images
├── tp/                 # Tampered/Target images
└── my_dataset.json     # Index file (MUST match the folder name!)

JSON Format (my_dataset.json):

[
  {
    "tp": "tampered_image_01.jpg",
    "gt": "mask_01.png"
  },
  {
    "tp": "tampered_image_02.jpg",
    "gt": "mask_02.png"
  }
]

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

owl_imdl-0.0.1.tar.gz (56.9 kB view details)

Uploaded Source

Built Distribution

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

owl_imdl-0.0.1-py3-none-any.whl (80.6 kB view details)

Uploaded Python 3

File details

Details for the file owl_imdl-0.0.1.tar.gz.

File metadata

  • Download URL: owl_imdl-0.0.1.tar.gz
  • Upload date:
  • Size: 56.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for owl_imdl-0.0.1.tar.gz
Algorithm Hash digest
SHA256 da3180247c71796f6f3a03b0584487b4ecbbdf9d873dc9d57d3e35e80348b5ca
MD5 70ed3b216ad327d7ce7cd7867d21501d
BLAKE2b-256 49af3f196e2e2d15369741d0033c927f58dca1c3cddec3995ae255c979ffde01

See more details on using hashes here.

File details

Details for the file owl_imdl-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: owl_imdl-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 80.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for owl_imdl-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e911bc5059a947152d385b3a5ddb1d60d4ec9aaf747ea4de0a46b59111d802cf
MD5 3d9796f730dc92c058100a9fb0260247
BLAKE2b-256 df5004593b1ac560587978a9ae4fd28680e2917a98714ce9c5d728f4af677d99

See more details on using hashes here.

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