Skip to main content

ClearML Darknet

The library allows you to train neural networks on the Darknet framework in ClearML.

PyPI - Status PyPI - Python Version PyPI PyPI - Wheel GitHub


Features

  • Graphs in ClearML - Display graphs for any Darknet compatible networks.

    • For classifiers:

      • Accuracy (acc);
      • Average loss (avg_loss);
      • learning rate (lr).
    • For detectors:

      • Mean average precision 50% (mAP@0.50);
      • Precision;
      • Recall;
      • F1-score;
      • Average loss (avg_loss);
      • learning rate (lr).
  • Logs in ClearML - Displays logs from Darknet in ClearML.

  • Saving weights in ClearML - Ability to save weights in ClearML with flexible adjustment of parameters.

    Available options:

    • Darknet.is_save_weights - Ability to disable saving weights (for experiments).
    • Darknet.save_weights_from_n_iterations - Ability to save weights from the start of N iterations. For example, N=10000.
    • Darknet.save_weights_every_n_iterations - Ability to save weights every N iterations. For example, N=5000.
  • Additional function of data splitting - Allows you to divide the data set into selections.

    📚 Click to see example
    from clearml import Dataset
    from clearml_darknet.utils import split_dataset
    
    
    dataset_path = Dataset.get(dataset_name='dataset-example', dataset_project='Tests/darknet').get_local_copy()
    
    train, valid = split_dataset(
      dataset_path=dataset_path,
      ratio=0.7,
      shuffle=True
    )
    

Requirements

Installation

Before running, be sure to clone the Darknet repository and compile for the appropriate operating system.

$ pip install clearml-darknet-py

Examples

For examples and use cases, check the examples folder.


License

Clearml Darknet is MIT licensed as listed in the LICENSE file.

Metadata

Release files for clearml-darknet-py 0.2.1

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

Source distribution (sdist)

Source distribution for clearml-darknet-py 0.2.1
File Size Uploaded Provenance Actions
clearml-darknet-py-0.2.1.tar.gz 10.0 kB Without provenance Details for clearml-darknet-py-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for clearml-darknet-py 0.2.1
File Interpreter ABI Platform Actions
clearml_darknet_py-0.2.1-py3-none-any.whl Python 3 none any Details for clearml_darknet_py-0.2.1-py3-none-any.whl

Total release size: 19.1 kB

Release files / clearml-darknet-py-0.2.1.tar.gz

Download URL clearml-darknet-py-0.2.1.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
35f1a7915dfeba9600bdedceba258750b50e248065116b02b7903bd0d3aa255a
BLAKE2b-256 checksum
How to use checksums
48dbe51049c507b71f62c25b02f788624f65b6c73692393d07da246cddab42c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release files / clearml_darknet_py-0.2.1-py3-none-any.whl

Download URL clearml_darknet_py-0.2.1-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
977792f1eb8d1ee85b0ad912395124a37076a833d9d217b21671b2d91236f636
BLAKE2b-256 checksum
How to use checksums
2353f0af9591db162053c335cce17fd069d18781ebef5dec728ad4015078a16c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Security for clearml-darknet-py 0.2.1

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