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.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
- 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.3.5.tar.gz
(37.5 kB
view details)
Built Distribution
hello2-0.3.5-py3-none-any.whl
(56.4 kB
view details)
File details
Details for the file hello2-0.3.5.tar.gz
.
File metadata
- Download URL: hello2-0.3.5.tar.gz
- Upload date:
- Size: 37.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55f089c354722b0aa52378bf86851b87535272ffd55124630aa3ff2029da0b03 |
|
MD5 | 093fab9818c71083f9860bbac5b45635 |
|
BLAKE2b-256 | caeac4f63b952790b04a73f35af2512a85f67c5d1a36db6648c47d522c4f2ecb |
File details
Details for the file hello2-0.3.5-py3-none-any.whl
.
File metadata
- Download URL: hello2-0.3.5-py3-none-any.whl
- Upload date:
- Size: 56.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34e4ac184c7c20d56b84b6ceb8943c068c6644f4564756ef95f4798597a52556 |
|
MD5 | ce8adf2d51def4f06f3edaa712e5ed08 |
|
BLAKE2b-256 | 42ede85e5be5736e56d2aa2d4c867ffc2168e8c04c0b201de11b09bf4d662a26 |