mirror of
https://github.com/azaion/ai-training.git
synced 2026-04-22 11:06:35 +00:00
add rknn conversion - install and use scripts, auto convert to rknn after AI training is done and put pt and rknn models to /azaion/models directory
This commit is contained in:
@@ -29,5 +29,8 @@ pip install rknn_toolkit2-1.6.0+81f21f4d-cp311-cp311-linux_x86_64.whl
|
||||
pip install "numpy<2.0"
|
||||
cd ../../../
|
||||
git clone https://github.com/airockchip/rknn_model_zoo.git
|
||||
|
||||
sed -i -E "s#(DATASET_PATH = ').+(')#\1/azaion/data-sample/azaion_subset.txt\2 #" rknn_model_zoo/examples/yolov8/python/convert.py
|
||||
|
||||
conda deactivate
|
||||
conda deactivate
|
||||
|
||||
Reference in New Issue
Block a user