# utrc
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
## Developer Guide
### Setup
``` sh
# create conda environment
$ mamba env create -f env.yml
# update conda environment
$ mamba env update -n utrc --file env.yml
```
### Install
``` sh
pip install -e .
# install from pypi
pip install utrc
```
### nbdev
``` sh
# activate conda environment
$ conda activate utrc
# make sure the utrc package is installed in development mode
$ pip install -e .
# make changes under nbs/ directory
# ...
# compile to have changes apply to the utrc package
$ nbdev_prepare
```
### Publishing
``` sh
# publish to pypi
$ nbdev_pypi
# publish to conda
$ nbdev_conda --build_args '-c conda-forge'
$ nbdev_conda --mambabuild --build_args '-c conda-forge -c dsm-72'
```
# Usage
## Installation
Install latest from the GitHub
[repository](https://github.com/dsm-72/utrc):
``` sh
$ pip install git+https://github.com/dsm-72/utrc.git
```
or from [conda](https://anaconda.org/dsm-72/utrc)
``` sh
$ conda install -c dsm-72 utrc
```
or from [pypi](https://pypi.org/project/utrc/)
``` sh
$ pip install utrc
```
## Documentation
Documentation can be found hosted on GitHub
[repository](https://github.com/dsm-72/utrc)
[pages](https://dsm-72.github.io/utrc/). Additionally you can find
package manager specific guidelines on
[conda](https://anaconda.org/dsm-72/utrc) and
[pypi](https://pypi.org/project/utrc/) respectively.
## NumPy Documentation:
- [`np.DataSource`](https://numpy.org/doc/stable/reference/generated/numpy.DataSource.html)
## PyTorch Documentation:
- [`TorchData`](https://pytorch.org/data/beta/index.html)
- [How to Package PyTorch
Models](https://pytorch.org/docs/stable/package.html)
- [`torch.monitor.Event`](https://pytorch.org/docs/stable/monitor.html#torch.monitor.Event)
- [`torchvision`](https://pytorch.org/vision/stable/index.html)
- [`torchvision.Datasets.VisionDataset`](https://pytorch.org/vision/stable/generated/torchvision.datasets.VisionDataset.html#torchvision.datasets.VisionDataset)
- [`torchvision.utils.flow_to_image`](https://pytorch.org/vision/stable/generated/torchvision.utils.flow_to_image.html)
## PyTorch Models to Consider:
- [Diffusion Video
AutoEncoders](https://github.com/man805/Diffusion-Video-Autoencoders)
- [ConvLSTM
AutoEncoder](https://holmdk.github.io/2020/04/02/video_prediction.html)
- [Recurrent All Pairs Field Transforms for Optical
Flow](https://github.com/princeton-vl/RAFT/blob/master/core/raft.py)
- [Optical Flow Toolbox
(`mmflow`)](https://github.com/open-mmlab/mmflow/blob/master/docs/en/intro.md)
- [`torchvision.models.optical_flow.raft`](https://github.com/pytorch/vision/blob/main/torchvision/models/optical_flow/raft.py)
Raw data
{
"_id": null,
"home_page": "https://github.com/dsm-72/utrc",
"name": "utrc",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "utility for pytorch torch util utrc",
"author": "dsm-72",
"author_email": "sumner.magruder@yale.edu",
"download_url": "https://files.pythonhosted.org/packages/94/6b/0a14a809b20b9e57ecf2d1ba46fd06bcce310272a3e1575a1699b6de9e35/utrc-0.0.13.tar.gz",
"platform": null,
"description": "# utrc\n\n<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->\n\n## Developer Guide\n\n### Setup\n\n``` sh\n# create conda environment\n$ mamba env create -f env.yml\n\n# update conda environment\n$ mamba env update -n utrc --file env.yml\n```\n\n### Install\n\n``` sh\npip install -e .\n\n# install from pypi\npip install utrc\n```\n\n### nbdev\n\n``` sh\n# activate conda environment\n$ conda activate utrc\n\n# make sure the utrc package is installed in development mode\n$ pip install -e .\n\n# make changes under nbs/ directory\n# ...\n\n# compile to have changes apply to the utrc package\n$ nbdev_prepare\n```\n\n### Publishing\n\n``` sh\n# publish to pypi\n$ nbdev_pypi\n\n# publish to conda\n$ nbdev_conda --build_args '-c conda-forge'\n$ nbdev_conda --mambabuild --build_args '-c conda-forge -c dsm-72'\n```\n\n# Usage\n\n## Installation\n\nInstall latest from the GitHub\n[repository](https://github.com/dsm-72/utrc):\n\n``` sh\n$ pip install git+https://github.com/dsm-72/utrc.git\n```\n\nor from [conda](https://anaconda.org/dsm-72/utrc)\n\n``` sh\n$ conda install -c dsm-72 utrc\n```\n\nor from [pypi](https://pypi.org/project/utrc/)\n\n``` sh\n$ pip install utrc\n```\n\n## Documentation\n\nDocumentation can be found hosted on GitHub\n[repository](https://github.com/dsm-72/utrc)\n[pages](https://dsm-72.github.io/utrc/). Additionally you can find\npackage manager specific guidelines on\n[conda](https://anaconda.org/dsm-72/utrc) and\n[pypi](https://pypi.org/project/utrc/) respectively.\n\n## NumPy Documentation:\n\n- [`np.DataSource`](https://numpy.org/doc/stable/reference/generated/numpy.DataSource.html)\n\n## PyTorch Documentation:\n\n- [`TorchData`](https://pytorch.org/data/beta/index.html)\n- [How to Package PyTorch\n Models](https://pytorch.org/docs/stable/package.html)\n- [`torch.monitor.Event`](https://pytorch.org/docs/stable/monitor.html#torch.monitor.Event)\n- [`torchvision`](https://pytorch.org/vision/stable/index.html)\n- [`torchvision.Datasets.VisionDataset`](https://pytorch.org/vision/stable/generated/torchvision.datasets.VisionDataset.html#torchvision.datasets.VisionDataset)\n- [`torchvision.utils.flow_to_image`](https://pytorch.org/vision/stable/generated/torchvision.utils.flow_to_image.html)\n\n## PyTorch Models to Consider:\n\n- [Diffusion Video\n AutoEncoders](https://github.com/man805/Diffusion-Video-Autoencoders)\n- [ConvLSTM\n AutoEncoder](https://holmdk.github.io/2020/04/02/video_prediction.html)\n- [Recurrent All Pairs Field Transforms for Optical\n Flow](https://github.com/princeton-vl/RAFT/blob/master/core/raft.py)\n- [Optical Flow Toolbox\n (`mmflow`)](https://github.com/open-mmlab/mmflow/blob/master/docs/en/intro.md)\n- [`torchvision.models.optical_flow.raft`](https://github.com/pytorch/vision/blob/main/torchvision/models/optical_flow/raft.py)\n",
"bugtrack_url": null,
"license": "Apache Software License 2.0",
"summary": "util torch",
"version": "0.0.13",
"project_urls": {
"Homepage": "https://github.com/dsm-72/utrc"
},
"split_keywords": [
"utility",
"for",
"pytorch",
"torch",
"util",
"utrc"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7e8cc76908dfee64bac0eb56c0cb6b30e05f4cd094b8d74b3d8b44a9525c781c",
"md5": "37b15dae02c82f1d8d80f60ea6dc975a",
"sha256": "2da14ffa1f2bb3d7694827336ba1839c57c26a0a9e6a875e5bede2af6f3e51bd"
},
"downloads": -1,
"filename": "utrc-0.0.13-py3-none-any.whl",
"has_sig": false,
"md5_digest": "37b15dae02c82f1d8d80f60ea6dc975a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 49965,
"upload_time": "2024-04-19T21:53:50",
"upload_time_iso_8601": "2024-04-19T21:53:50.735044Z",
"url": "https://files.pythonhosted.org/packages/7e/8c/c76908dfee64bac0eb56c0cb6b30e05f4cd094b8d74b3d8b44a9525c781c/utrc-0.0.13-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "946b0a14a809b20b9e57ecf2d1ba46fd06bcce310272a3e1575a1699b6de9e35",
"md5": "5573bad40c9e9ecb937dd368493abe63",
"sha256": "2b8bb18a2cf708b66baba34c75d10ebcd1a653974504b528d51df58d54cd66dd"
},
"downloads": -1,
"filename": "utrc-0.0.13.tar.gz",
"has_sig": false,
"md5_digest": "5573bad40c9e9ecb937dd368493abe63",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 44447,
"upload_time": "2024-04-19T21:53:52",
"upload_time_iso_8601": "2024-04-19T21:53:52.455476Z",
"url": "https://files.pythonhosted.org/packages/94/6b/0a14a809b20b9e57ecf2d1ba46fd06bcce310272a3e1575a1699b6de9e35/utrc-0.0.13.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-19 21:53:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dsm-72",
"github_project": "utrc",
"github_not_found": true,
"lcname": "utrc"
}