torchdrive


Nametorchdrive JSON
Version 0.0.1 PyPI version JSON
download
home_page
SummaryPyTorch library for BEV style perception models
upload_time2023-01-29 01:26:37
maintainer
docs_urlNone
authorTristan Rice
requires_python>=3.7
licenseBSD-3-Clause
keywords pytorch transformer self-driving
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ![torchdrive](media/torchdrive.svg)

A PyTorch library for training BEV style perception models for self driving
tasks. This is unaffiliated with the PyTorch project. This currently includes
helpful primitives needed to put together a model.

## Install from Source

```
$ pip install git+https://github.com/d4l3k/torchdrive.git
```

or

```
$ git clone --recursive https://github.com/d4l3k/torchdrive.git
$ cd torchdrive
$ pip install -e .
```

## Background

I've been documenting the process for this code. Please see my blog at
https://fn.lc/post/3d-detr/ for more details.

### 3D Object Detection

3D bounding boxes and velocities for dynamic objects such as cars.

![](media/det.png)

### Voxel Occupancy

Grids of occupancy around the vehicle trained with differential rendering.

![](media/voxel-highway-cars.png)

### BEV Lane Lines and Drivable Space

Lane line and drivable space trained purely from image space labels.

![](media/mesh-semantic.png)

### Semantic Voxel

Per voxel semantic labels for static objects.

![](media/voxel-semantic.png)

## Data Access

The training dataset for this repo has been collected from my car and thus has
lots of personally identifying information so I'm not willing to make it public
at this time. If you're interested in contributing or collaborating feel free to
reach out. I'm happy to test changes on my own hardware and there may be other
options too.

## Contact

If you have any questions or concerns, please reach out to me either by filing
an issue or emailing me at [rice@fn.lc](mailto:rice@fn.lc).

## License

This project is a hobby project and done in my free time. This is non-commercial
and no profit has been made from this work.

See the [LICENSE](LICENSE) file for more information. Some files and functions
have different licenses and are marked accordingly.

BSD 3-Clause License

Copyright (c) 2023, Tristan Rice

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
   contributors may be used to endorse or promote products derived from
   this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "torchdrive",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "pytorch,transformer,self-driving",
    "author": "Tristan Rice",
    "author_email": "rice@fn.lc",
    "download_url": "",
    "platform": null,
    "description": "# ![torchdrive](media/torchdrive.svg)\n\nA PyTorch library for training BEV style perception models for self driving\ntasks. This is unaffiliated with the PyTorch project. This currently includes\nhelpful primitives needed to put together a model.\n\n## Install from Source\n\n```\n$ pip install git+https://github.com/d4l3k/torchdrive.git\n```\n\nor\n\n```\n$ git clone --recursive https://github.com/d4l3k/torchdrive.git\n$ cd torchdrive\n$ pip install -e .\n```\n\n## Background\n\nI've been documenting the process for this code. Please see my blog at\nhttps://fn.lc/post/3d-detr/ for more details.\n\n### 3D Object Detection\n\n3D bounding boxes and velocities for dynamic objects such as cars.\n\n![](media/det.png)\n\n### Voxel Occupancy\n\nGrids of occupancy around the vehicle trained with differential rendering.\n\n![](media/voxel-highway-cars.png)\n\n### BEV Lane Lines and Drivable Space\n\nLane line and drivable space trained purely from image space labels.\n\n![](media/mesh-semantic.png)\n\n### Semantic Voxel\n\nPer voxel semantic labels for static objects.\n\n![](media/voxel-semantic.png)\n\n## Data Access\n\nThe training dataset for this repo has been collected from my car and thus has\nlots of personally identifying information so I'm not willing to make it public\nat this time. If you're interested in contributing or collaborating feel free to\nreach out. I'm happy to test changes on my own hardware and there may be other\noptions too.\n\n## Contact\n\nIf you have any questions or concerns, please reach out to me either by filing\nan issue or emailing me at [rice@fn.lc](mailto:rice@fn.lc).\n\n## License\n\nThis project is a hobby project and done in my free time. This is non-commercial\nand no profit has been made from this work.\n\nSee the [LICENSE](LICENSE) file for more information. Some files and functions\nhave different licenses and are marked accordingly.\n\nBSD 3-Clause License\n\nCopyright (c) 2023, Tristan Rice\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this\n   list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice,\n   this list of conditions and the following disclaimer in the documentation\n   and/or other materials provided with the distribution.\n\n3. Neither the name of the copyright holder nor the names of its\n   contributors may be used to endorse or promote products derived from\n   this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "PyTorch library for BEV style perception models",
    "version": "0.0.1",
    "split_keywords": [
        "pytorch",
        "transformer",
        "self-driving"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5c53e378a56bfb571b9040228fa17c0a0421d460a6cf5478cbeb4c2f97f37ccb",
                "md5": "55aa511d9113ec7ba58fbbefaa3efe6a",
                "sha256": "f5ad29d439d117da584ce6cd3c998ea732cf4c24b01ff55b1b87ff0d43d48bc0"
            },
            "downloads": -1,
            "filename": "torchdrive-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "55aa511d9113ec7ba58fbbefaa3efe6a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 32995,
            "upload_time": "2023-01-29T01:26:37",
            "upload_time_iso_8601": "2023-01-29T01:26:37.236356Z",
            "url": "https://files.pythonhosted.org/packages/5c/53/e378a56bfb571b9040228fa17c0a0421d460a6cf5478cbeb4c2f97f37ccb/torchdrive-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-29 01:26:37",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "torchdrive"
}
        
Elapsed time: 0.03510s