deepsea-ai-1.8.2
توضیحات
DeepSeaAI is a Python package to simplify processing deep sea video in AWS from a command line.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | deepsea-ai-1.8.2 |
| نام | deepsea-ai |
| نسخه کتابخانه | 1.8.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Danelle Cline |
| ایمیل نویسنده | dcline@mbari.org |
| آدرس صفحه اصلی | https://github.com/mbari-org/deepsea-ai |
| آدرس اینترنتی | https://pypi.org/project/deepsea-ai/ |
| مجوز | GPL3 |
[](http://www.mbari.org)
[](https://github.com/semantic-release/semantic-release)

[](https://www.python.org/downloads/)
**DeepSeaAI** is a Python package to simplify processing deep sea video in [AWS](https://aws.amazon.com) from a command line.
It includes reasonable defaults that have been optimized for deep sea video. The goal is to simplify running these algorithms in AWS.
DeepSea-AI currently supports:
- *Training [YOLOv5](http://github.com/ultralytics/yolov5) object detection* models
- *Processing video with [YOLOv5](http://github.com/ultralytics/yolov5) detection and tracking pipelines* using either:
* [DeepSort](https://github.com/mikel-brostrom/Yolov5_DeepSort_Pytorch) tracking
* [StrongSort](https://github.com/mikel-brostrom/Yolov5_StrongSORT_OSNet) tracking
## Install
There are two main requirements to use this:
1. [An account with AWS Amazon Web Services](https://aws.amazon.com).
2. [An account with Docker](http://docker.com).
3. Install and update using [pip](https://pip.pypa.io/en/stable/getting-started/) in a Python>=3.8.0 environment:
After you have setup your AWS account, configure it using the awscli tool
```
pip install awscli
aws configure
aws --version
```
Then install the module
```shell
pip install -U deepsea-ai
```
Setting up the AWS environment is done with the setup mirror command. This only needs to be done once, or when you upgrade
the module. This command will setup the appropriate AWS permissions and mirror the images used in the commands
from [Docker Hub](https://hub.docker.com) to your ECR Elastic Container Registry.
Be patient - this takes a while, but only needs to be run once.
```shell
deepsea-ai setup --mirror
```
## Tutorials
* [FathomNet](docs/notebooks/fathomnet_train.ipynb) ✨ Recommended first step to learn more about how to train a YOLOv5 object detection model using freely available FathomNet data
### Create the Anaconda environment
The fastest way to get started is to use the Anaconda environment. This will create a conda environment called *deepsea-ai* and make that available in your local jupyter notebook as the kernel named *deepsea-ai*
```shell
conda env create
conda activate deepsea-ai
pip install ipykernel
python -m ipykernel install --user --name=deepsea-ai
```
### Launch jupyter
```
cd docs/notebooks
jupyter notebook
```
---
## Commands
* `deepsea-ai setup --help` - Setup the AWS environment. Must run this once before any other commands.
* [`deepsea-ai train --help` - Train a YOLOv5 model and save the model to a bucket](commands/train.md)
* [`deepsea-ai process --help` - Process one or more videos and save the results to a bucket](commands/process.md)
* [`deepsea-ai ecsprocess --help` - Process one or more videos using the Elastic Container Service and save the results to a bucket](commands/process.md)
* [`deepsea-ai split --help` - Split your training data. This is required before the train command.](data.md)
* `deepsea-ai -h` - Print help message and exit.
Source code is available at [github.com/mbari-org/deepsea-ai](https://github.com/mbari-org/deepsea-ai/).
For more details, see the [official documentation](http://docs.mbari.org/deepsea-ai/install).
نیازمندی
| مقدار | نام |
|---|---|
| >=1.25.71,<2.0.0 | awscli |
| >=8.0.0,<9.0.0 | click |
| >=2.102.0,<3.0.0 | sagemaker |
| >=1.24.70,<2.0.0 | boto3 |
| >=2.26.0,<3.0.0 | requests |
| >=4.41.0,<5.0.0 | tqdm |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl deepsea-ai-1.8.2:
pip install deepsea-ai-1.8.2.whl
نصب پکیج tar.gz deepsea-ai-1.8.2:
pip install deepsea-ai-1.8.2.tar.gz