Skip to main content

LIGHTNET

Logo

Building blocks to recreate Darknet networks in Pytorch Version PyTorch Pipeline

Why another framework

pytorch-yolo2 is working perfectly fine, but does not easily allow a user to modify an existing network. This is why I decided to create a library, that gives the user all the necessary building blocks, to recreate any darknet network. This library has everything you need to control your network, weight loading & saving, datasets, dataloaders and data augmentation.

Installing

First install PyTorch and Torchvision. Then clone this repository and run one of the following commands:

# If you just want to use Lightnet
pip install -r requirements.txt

# If you want to develop Lightnet
pip install -r develop.txt

This project is python 3.6 and higher so on some systems you might want to use 'pip3.6' instead of 'pip'

How to use

Click Here for the API documentation and guides on how to use this library. The examples folder contains code snippets to train and test networks with lightnet. For examples on how to implement your own networks, you can take a look at the files in lightnet/models.

If you are using a different version than the latest, you can generate the documentation yourself by running make clean html in the docs folder. This does require some dependencies, like Sphinx. The easiest way to install them is by using the -r develop.txt option when installing lightnet.

Cite

If you use Lightnet in your research, please cite it.

@misc{lightnet18,
  author = {Tanguy Ophoff},
  title = {Lightnet: Building Blocks to Recreate Darknet Networks in Pytorch},
  howpublished = {\url{https://gitlab.com/EAVISE/lightnet}},
  year = {2018}
}

Main Contributors

Here is a list of people that made noteworthy contributions and helped to get this project where it stands today!

Metadata

Release files for wbia-lightnet 3.0.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 wbia-lightnet 3.0.1
File Size Uploaded Provenance Actions
wbia-lightnet-3.0.1.tar.gz 310.8 kB Without provenance Details for wbia-lightnet-3.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wbia-lightnet 3.0.1
File Interpreter ABI Platform Actions
wbia_lightnet-3.0.1-py3-none-any.whl Python 3 none any Details for wbia_lightnet-3.0.1-py3-none-any.whl

Total release size: 404.2 kB

Release files / wbia-lightnet-3.0.1.tar.gz

Download URL wbia-lightnet-3.0.1.tar.gz
Size 310.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0fd565e952fe0d859d3ae51c1c24d21ee2d6a8c85cc9e79badfc46aa85f57ec4
BLAKE2b-256 checksum
How to use checksums
62d20e53983dbd5a6d2d5e2f0c4887017883b4c3fa5c81df24f0d9fd82d53d36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / wbia_lightnet-3.0.1-py3-none-any.whl

Download URL wbia_lightnet-3.0.1-py3-none-any.whl
Size 93.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c77a833916a2c401c4e42470ced93ebfbe5234136d64fe93d0d9362f18977def
BLAKE2b-256 checksum
How to use checksums
2c660154072726e8e9f664f1c1e0f3ce9254e4361fd2631af1624315e05efa76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Security for wbia-lightnet 3.0.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.

Release history Release notifications | RSS feed

This release

3.0.1 This release

2 release files No provenance

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