Skip to main content

A collection of useful tools!

Project description

Hello

A collection of useful tools!

Publish

hello2 · PyPI

# https://github.com/pypa/flit
flit publish

Environment

conda info -e
conda create -y -n myenv python=3.9
conda activate myenv

# pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install notebook

conda deactivate
conda remove -y -n myenv --all
conda info -e

Installation

# requirements.txt
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install opencv-python Pillow scikit-image scikit-learn simplejson onnx

# FFmpeg
apt install -y ffmpeg
conda install -c pytorch ffmpeg
conda install -c conda-forge ffmpeg

# OpenCV
pip uninstall -y opencv-python-headless
pip install opencv-python --ignore-installed

# fiftyone
pip install fiftyone>=0.17.2
pip install fiftyone[desktop]>=0.17.2
## $ conda list | grep voxel
## $ conda list | grep fiftyone

# pyomniunwarp
pip install -U pyomniunwarp>=0.2.4

# onnxruntime (optional)
pip install onnx onnx-simplifier onnxruntime  # CPU
pip install onnx onnx-simplifier onnxruntime-gpu  # GPU

# PyTorch 1.10.2 (optional)
pip install torch==1.10.2+cu113 torchvision==0.11.3+cu113 -f https://download.pytorch.org/whl/torch_stable.html

# PyTorch 1.12.1 (optional)
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113

# hello
pip install -U hello2
pip install -U hello2 -i https://pypi.org/simple
pip install -U hello2 -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install -U 'git+https://github.com/flystarhe/hello'

Usage

hello-data

  • hello-data coco2yolo -h
    • COCO format to YOLOv5

hello-fiftyone

hello-onnx

hello-video

  • hello-video clip -h
  • hello-video frames -h

hello-x3m

  • hello-x3m preprocess -h
    • 为X3M量化步骤生成校准数据
  • hello-x3m config -h
    • 为X3M编译步骤生成配置文件

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hello2-0.3.3.tar.gz (37.3 kB view details)

Uploaded Source

Built Distribution

hello2-0.3.3-py3-none-any.whl (56.1 kB view details)

Uploaded Python 3

File details

Details for the file hello2-0.3.3.tar.gz.

File metadata

  • Download URL: hello2-0.3.3.tar.gz
  • Upload date:
  • Size: 37.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for hello2-0.3.3.tar.gz
Algorithm Hash digest
SHA256 379fa2c30faf5fd786ee8c3d4e50ac07e62bd9cc0a8d04371a0a72cff4bf9f89
MD5 dce3f0fb712952d3ef3e9643187dc050
BLAKE2b-256 a4944964fab03ef54ba81bf5ac86014f7f809cf509b311539d2f0a1539ec10ef

See more details on using hashes here.

File details

Details for the file hello2-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: hello2-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 56.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for hello2-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ae32cbcdfd5b5f7a27e43ed867b34fdfcff0fc02bf7c56aeb0a04b64790e6991
MD5 c1f804cbfa6ba5fbfa49ed3530362f68
BLAKE2b-256 b77d5199e38aae098f92edcf757737d63c57a29c5da360d9518b0cf5675e347b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page