A collection of useful tools!
Project description
Hello
A collection of useful tools!
Publish
# 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.16.5
pip install fiftyone[desktop]==0.16.5
## $ conda list | grep voxel
## voxel51-eta 0.7.1 pypi_0 pypi
## $ conda list | grep fiftyone
## fiftyone 0.16.5 pypi_0 pypi
## fiftyone-brain 0.8.2 pypi_0 pypi
## fiftyone-db 0.3.0 pypi_0 pypi
# 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
- For examples: hello/fiftyone/examples/
hello-onnx
- For examples: hello/onnx/examples/
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.2.9.tar.gz
(36.0 kB
view details)
Built Distribution
hello2-0.2.9-py3-none-any.whl
(53.8 kB
view details)
File details
Details for the file hello2-0.2.9.tar.gz
.
File metadata
- Download URL: hello2-0.2.9.tar.gz
- Upload date:
- Size: 36.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bccd52b239417bfb92af0a22162a7abb599e49ed5b2a36175d89ad8619796af8 |
|
MD5 | 52fc2c1297ccd17506303532eb9724f9 |
|
BLAKE2b-256 | ee95e2521dc029d55fc6623928985ba35cdf5dd820ff757ee35a8b4430c94da0 |
File details
Details for the file hello2-0.2.9-py3-none-any.whl
.
File metadata
- Download URL: hello2-0.2.9-py3-none-any.whl
- Upload date:
- Size: 53.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8d6b259b2c36d912d7f05ee814c0fe587cc6a1cb35f776064157a923d0f3f1f |
|
MD5 | b5a2ce7b1eeef8d44f8b3d91ab5fe82f |
|
BLAKE2b-256 | 5443940b997eef5422f64853667e3212e1ea67598559a802251b982f780142ca |