DenseTorch
An easy-to-use wrapper for work with dense per-pixel tasks in PyTorch (including multi-task learning)
Install / Use
/learn @DrSleep/DenseTorchREADME
DenseTorch: PyTorch Wrapper for Smooth Workflow with Dense Per-Pixel Tasks
This library aims to ease typical workflows involving dense per-pixel tasks in PyTorch. The progress in such tasks as semantic image segmentation and depth estimation have been significant over the last years, and in this library we provide an easy-to-setup environment for experimenting with given (or your own) models that reliably solve these tasks.
Installation
Python >= 3.6.7 is supported.
git clone https://github.com/drsleep/densetorch.git
cd densetorch
pip install -e .
Examples
Currently, we provide several models for single-task and multi-task setups:
resnetResNet-18/34/50/101/152.mobilenet-v2MobileNet-v2.xception-65Xception-65.deeplab-v3+DeepLab-v3+.lwrfLight-Weight RefineNet.mtlwrfMulti-Task Light-Weight RefineNet.
Examples are given in the examples/ directory. Note that the provided examples do not necessarily reproduce the results achieved in corresponding papers, rather their goal is to demonstrate what can be done using this library.
Motivation behind the library
As my everyday research is concerned with dense per-pixel tasks, I found myself oftentimes re-writing and updating (occassionally improving upon) my own code for each project. With the number of projects being on the rise recently, such an approach was no longer easy to manage. Hence, I decided to create a simple to use and simple to extend upon backbone (pun is not intended) structure, which I would be able to share with the community and, hopefully, ease the experience for others in the field.
Future Work
This library is still work-in-progress. More examples and more models will be added. Contributions are welcome.
Documentation
Is available here.
Citation
If you found this library useful in your research, please consider citing
@misc{Nekrasov19,
author = {Nekrasov, Vladimir},
title = {DenseTorch},
year = {2019},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/drsleep/densetorch}}
}
Related Skills
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
research_rules
Research & Verification Rules Quote Verification Protocol Primary Task "Make sure that the quote is relevant to the chapter and so you we want to make sure that we want to have it identifie
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
