AFCI offline kit - Part 5: Python environment for ST model zoo arc-fault scripts

Offline development kit for an arc-fault detection / electrical-fire prevention system (current sensor -> STM32F407 ADC+DMA -> FFT/STFT features -> quantized DNN -> trip). Target offline PC: Windows 10/11 x64, CPU-only Python training.

Contents: Python environment for ST's model zoo services (arc_fault_detection)

ST's stm32ai-modelzoo-services (Part 4) pins its own versions (TensorFlow 2.18, Keras 3.8, PyTorch 2.7.1, ONNX 1.16, ONNX Runtime 1.20, Hydra 1.3.2, MLflow 2.20, neural-compressor 3.4.1, ...), which conflict with the general environment in Part 3. So it gets its own virtual environment.

  • wheels_stm32ai_modelzoo_py312/: 176 wheels for CPython 3.12 / win_amd64 (ST recommends Python 3.12.9; the 3.12.10 installer in Part 2 works).
  • requirements_original_from_ST.txt: ST's requirements.txt as published.
  • requirements_stm32ai_modelzoo_windows_lock.txt: exact pinned set used here. It was checked by resolving it from these local wheels only (no internet) for Windows/Python 3.12.
  • install_offline.bat: rebuilds split wheels, creates %USERPROFILE%\stzoo-venv, installs everything with --no-index.

Differences from ST's list (Windows/offline only):

  • pesq==0.0.4 left out: no Windows wheel, needs a C compiler, and it's only used by ST's speech_enhancement use case.
  • pycocotools 2.0.11 instead of 2.0.7: 2.0.7 has no Windows wheel for Python 3.12; it's only pulled in by neural-compressor and used by the vision use cases.
  • antlr4-python3-runtime 4.9.3 and wget 3.2 only exist as source on PyPI; they were built here into pure-Python py3-none-any wheels.

Note: the ST Edge AI Core / STM32Cube AI Studio executables needed for the benchmarking modes are not included (see Part 7 checklist). Training, evaluation, quantization and prediction run fully offline with this environment.

Rebuilding split files

Files over 100 MB were split into *.part001, *.part002, ... pieces. After downloading the whole repo:

  • Windows: powershell -ExecutionPolicy Bypass -File .\join_parts.ps1
  • Linux/macOS: bash join_parts.sh

Both scripts rebuild the files and check them against SHA256SUMS.txt.

Files (179 files, 974.8 MB total)

File Size Split into
install_offline.bat 1.1 KB -
requirements_original_from_ST.txt 589 B -
requirements_stm32ai_modelzoo_windows_lock.txt 3.0 KB -
wheels_stm32ai_modelzoo_py312/PyJWT-2.8.0-py3-none-any.whl 22.1 KB -
wheels_stm32ai_modelzoo_py312/absl_py-2.5.1-py3-none-any.whl 134.4 KB -
wheels_stm32ai_modelzoo_py312/alembic-1.20.1-py3-none-any.whl 264.0 KB -
wheels_stm32ai_modelzoo_py312/annotated_types-0.8.0-py3-none-any.whl 13.1 KB -
wheels_stm32ai_modelzoo_py312/antlr4_python3_runtime-4.9.3-py3-none-any.whl 141.2 KB -
wheels_stm32ai_modelzoo_py312/anyio-4.16.0-py3-none-any.whl 131.4 KB -
wheels_stm32ai_modelzoo_py312/astunparse-1.6.3-py2.py3-none-any.whl 12.4 KB -
wheels_stm32ai_modelzoo_py312/attrs-26.1.0-py3-none-any.whl 66.0 KB -
wheels_stm32ai_modelzoo_py312/audioread-3.1.0-py3-none-any.whl 22.6 KB -
wheels_stm32ai_modelzoo_py312/blinker-1.9.0-py3-none-any.whl 8.3 KB -
wheels_stm32ai_modelzoo_py312/cachetools-5.5.2-py3-none-any.whl 9.8 KB -
wheels_stm32ai_modelzoo_py312/certifi-2026.10.23-py3-none-any.whl 131.9 KB -
wheels_stm32ai_modelzoo_py312/cffi-2.1.1-cp312-cp312-win_amd64.whl 181.6 KB -
wheels_stm32ai_modelzoo_py312/charset_normalizer-3.5.2-cp312-cp312-win_amd64.whl 202.6 KB -
wheels_stm32ai_modelzoo_py312/clearml-1.16.5-py2.py3-none-any.whl 1.1 MB -
wheels_stm32ai_modelzoo_py312/click-8.5.0-py3-none-any.whl 122.3 KB -
wheels_stm32ai_modelzoo_py312/cloudpickle-3.1.2-py3-none-any.whl 21.7 KB -
wheels_stm32ai_modelzoo_py312/colorama-0.4.6-py2.py3-none-any.whl 24.7 KB -
wheels_stm32ai_modelzoo_py312/coloredlogs-15.0.1-py2.py3-none-any.whl 44.9 KB -
wheels_stm32ai_modelzoo_py312/colorlog-6.12.0-py3-none-any.whl 12.0 KB -
wheels_stm32ai_modelzoo_py312/contourpy-1.3.3-cp312-cp312-win_amd64.whl 221.3 KB -
wheels_stm32ai_modelzoo_py312/cryptography-50.0.2-cp311-abi3-win_amd64.whl 3.6 MB -
wheels_stm32ai_modelzoo_py312/cycler-0.12.1-py3-none-any.whl 8.1 KB -
wheels_stm32ai_modelzoo_py312/databricks_sdk-0.67.0-py3-none-any.whl 701.6 KB -
wheels_stm32ai_modelzoo_py312/decorator-5.3.1-py3-none-any.whl 10.1 KB -
wheels_stm32ai_modelzoo_py312/deprecated-3.0.1-py3-none-any.whl 21.7 KB -
wheels_stm32ai_modelzoo_py312/docker-7.2.0-py3-none-any.whl 145.3 KB -
wheels_stm32ai_modelzoo_py312/einops-0.8.2-py3-none-any.whl 64.1 KB -
wheels_stm32ai_modelzoo_py312/filelock-4.2.7-py3-none-any.whl 160.5 KB -
wheels_stm32ai_modelzoo_py312/flask-3.1.3-py3-none-any.whl 101.0 KB -
wheels_stm32ai_modelzoo_py312/flatbuffers-25.12.19-py2.py3-none-any.whl 26.0 KB -
wheels_stm32ai_modelzoo_py312/fonttools-4.68.0-cp312-cp312-win_amd64.whl 2.4 MB -
wheels_stm32ai_modelzoo_py312/fsspec-2026.9.0-py3-none-any.whl 216.5 KB -
wheels_stm32ai_modelzoo_py312/furl-2.1.4-py2.py3-none-any.whl 26.9 KB -
wheels_stm32ai_modelzoo_py312/gast-0.7.0-py3-none-any.whl 22.4 KB -
wheels_stm32ai_modelzoo_py312/gitdb-4.0.12-py3-none-any.whl 61.3 KB -
wheels_stm32ai_modelzoo_py312/gitpython-3.2.1-py3-none-any.whl 226.1 KB -
wheels_stm32ai_modelzoo_py312/google_auth-2.62.0-py3-none-any.whl 261.6 KB -
wheels_stm32ai_modelzoo_py312/google_pasta-0.2.0-py3-none-any.whl 56.1 KB -
wheels_stm32ai_modelzoo_py312/graphene-3.4.3-py2.py3-none-any.whl 112.2 KB -
wheels_stm32ai_modelzoo_py312/graphql_core-3.2.13-py3-none-any.whl 261.9 KB -
wheels_stm32ai_modelzoo_py312/graphql_relay-3.2.0-py3-none-any.whl 16.5 KB -
wheels_stm32ai_modelzoo_py312/grpcio-1.85.1-cp312-cp312-win_amd64.whl 5.3 MB -
wheels_stm32ai_modelzoo_py312/h11-0.16.0-py3-none-any.whl 36.6 KB -
wheels_stm32ai_modelzoo_py312/h5py-3.16.0-cp312-cp312-win_amd64.whl 3.0 MB -
wheels_stm32ai_modelzoo_py312/hf_xet-1.8.0-cp38-abi3-win_amd64.whl 3.7 MB -
wheels_stm32ai_modelzoo_py312/httpcore2-2.16.0-py3-none-any.whl 83.1 KB -
wheels_stm32ai_modelzoo_py312/httpx2-2.16.0-py3-none-any.whl 95.6 KB -
wheels_stm32ai_modelzoo_py312/huggingface_hub-2.4.0-py3-none-any.whl 836.9 KB -
wheels_stm32ai_modelzoo_py312/humanfriendly-10.0-py2.py3-none-any.whl 84.8 KB -
wheels_stm32ai_modelzoo_py312/hydra_core-1.3.2-py3-none-any.whl 150.9 KB -
wheels_stm32ai_modelzoo_py312/idna-3.20-py3-none-any.whl 68.0 KB -
wheels_stm32ai_modelzoo_py312/imageio-2.38.1-py3-none-any.whl 320.7 KB -
wheels_stm32ai_modelzoo_py312/imgaug-0.4.0-py2.py3-none-any.whl 925.8 KB -
wheels_stm32ai_modelzoo_py312/importlib_metadata-8.9.0-py3-none-any.whl 26.6 KB -
wheels_stm32ai_modelzoo_py312/itsdangerous-2.2.0-py3-none-any.whl 15.9 KB -
wheels_stm32ai_modelzoo_py312/jinja2-3.1.6-py3-none-any.whl 131.7 KB -
wheels_stm32ai_modelzoo_py312/joblib-1.6.0-py3-none-any.whl 298.9 KB -
wheels_stm32ai_modelzoo_py312/jsonschema-4.26.0-py3-none-any.whl 88.5 KB -
wheels_stm32ai_modelzoo_py312/jsonschema_specifications-2025.9.1-py3-none-any.whl 18.0 KB -
wheels_stm32ai_modelzoo_py312/keras-3.8.0-py3-none-any.whl 1.2 MB -
wheels_stm32ai_modelzoo_py312/kiwisolver-1.5.1-cp312-cp312-win_amd64.whl 69.1 KB -
wheels_stm32ai_modelzoo_py312/lazy_loader-0.6-py3-none-any.whl 8.6 KB -
wheels_stm32ai_modelzoo_py312/libclang-18.1.1-py2.py3-none-win_amd64.whl 25.2 MB -
wheels_stm32ai_modelzoo_py312/librosa-0.10.2.post1-py3-none-any.whl 254.0 KB -
wheels_stm32ai_modelzoo_py312/llvmlite-0.50.0-cp312-cp312-win_amd64.whl 39.9 MB -
wheels_stm32ai_modelzoo_py312/loguru-0.7.3-py3-none-any.whl 60.2 KB -
wheels_stm32ai_modelzoo_py312/mako-1.4.3-py3-none-any.whl 78.3 KB -
wheels_stm32ai_modelzoo_py312/markdown-3.11.2-py3-none-any.whl 111.6 KB -
wheels_stm32ai_modelzoo_py312/markdown_it_py-4.2.0-py3-none-any.whl 89.5 KB -
wheels_stm32ai_modelzoo_py312/markupsafe-3.0.4-cp312-cp312-win_amd64.whl 14.0 KB -
wheels_stm32ai_modelzoo_py312/marshmallow-3.24.1-py3-none-any.whl 48.2 KB -
wheels_stm32ai_modelzoo_py312/matplotlib-3.11.2-cp312-cp312-win_amd64.whl 8.9 MB -
wheels_stm32ai_modelzoo_py312/mdurl-0.1.2-py3-none-any.whl 9.7 KB -
wheels_stm32ai_modelzoo_py312/ml_dtypes-0.4.1-cp312-cp312-win_amd64.whl 124.5 KB -
wheels_stm32ai_modelzoo_py312/mlflow-2.20.0-py3-none-any.whl 27.0 MB -
wheels_stm32ai_modelzoo_py312/mlflow_skinny-2.20.0-py3-none-any.whl 5.7 MB -
wheels_stm32ai_modelzoo_py312/mpmath-1.3.0-py3-none-any.whl 523.6 KB -
wheels_stm32ai_modelzoo_py312/msgpack-1.2.4-cp312-cp312-win_amd64.whl 75.5 KB -
wheels_stm32ai_modelzoo_py312/munch-4.0.0-py2.py3-none-any.whl 9.7 KB -
wheels_stm32ai_modelzoo_py312/namex-0.1.0-py3-none-any.whl 5.8 KB -
wheels_stm32ai_modelzoo_py312/narwhals-2.28.0-py3-none-any.whl 479.1 KB -
wheels_stm32ai_modelzoo_py312/networkx-3.7-py3-none-any.whl 2.0 MB -
wheels_stm32ai_modelzoo_py312/neural_compressor-3.4.1-py3-none-any.whl 1.7 MB -
wheels_stm32ai_modelzoo_py312/numba-0.68.1-cp312-cp312-win_amd64.whl 2.7 MB -
wheels_stm32ai_modelzoo_py312/numpy-1.26.4-cp312-cp312-win_amd64.whl 14.8 MB -
wheels_stm32ai_modelzoo_py312/omegaconf-2.3.1-py3-none-any.whl 77.6 KB -
wheels_stm32ai_modelzoo_py312/onnx-1.16.1-cp312-cp312-win_amd64.whl 13.8 MB -
wheels_stm32ai_modelzoo_py312/onnxruntime-1.20.1-cp312-cp312-win_amd64.whl 10.8 MB -
wheels_stm32ai_modelzoo_py312/opencv_python-4.11.0.86-cp37-abi3-win_amd64.whl 37.7 MB -
wheels_stm32ai_modelzoo_py312/opencv_python_headless-4.11.0.86-cp37-abi3-win_amd64.whl 37.6 MB -
wheels_stm32ai_modelzoo_py312/opentelemetry_api-1.45.2-py3-none-any.whl 58.9 KB -
wheels_stm32ai_modelzoo_py312/opentelemetry_sdk-1.45.2-py3-none-any.whl 138.4 KB -
wheels_stm32ai_modelzoo_py312/opentelemetry_semantic_conventions-0.66b2-py3-none-any.whl 201.4 KB -
wheels_stm32ai_modelzoo_py312/opt_einsum-3.4.0-py3-none-any.whl 70.2 KB -
wheels_stm32ai_modelzoo_py312/optree-0.20.0-cp312-cp312-win_amd64.whl 553.7 KB -
wheels_stm32ai_modelzoo_py312/optuna-4.1.0-py3-none-any.whl 355.9 KB -
wheels_stm32ai_modelzoo_py312/orderedmultidict-1.0.2-py2.py3-none-any.whl 11.6 KB -
wheels_stm32ai_modelzoo_py312/packaging-24.2-py3-none-any.whl 63.9 KB -
wheels_stm32ai_modelzoo_py312/pandas-2.3.3-cp312-cp312-win_amd64.whl 10.5 MB -
wheels_stm32ai_modelzoo_py312/pathlib2-2.3.7.post1-py2.py3-none-any.whl 17.6 KB -
wheels_stm32ai_modelzoo_py312/pillow-13.0.0-cp312-cp312-win_amd64.whl 6.9 MB -
wheels_stm32ai_modelzoo_py312/pip-26.2.2-py3-none-any.whl 1.7 MB -
wheels_stm32ai_modelzoo_py312/pip_system_certs-5.2-py3-none-any.whl 5.7 KB -
wheels_stm32ai_modelzoo_py312/platformdirs-4.14.3-py3-none-any.whl 34.4 KB -
wheels_stm32ai_modelzoo_py312/pooch-1.9.0-py3-none-any.whl 65.6 KB -
wheels_stm32ai_modelzoo_py312/prettytable-3.18.0-py3-none-any.whl 36.5 KB -
wheels_stm32ai_modelzoo_py312/protobuf-3.20.3-py2.py3-none-any.whl 158.3 KB -
wheels_stm32ai_modelzoo_py312/psutil-7.2.2-cp37-abi3-win_amd64.whl 134.5 KB -
wheels_stm32ai_modelzoo_py312/py_cpuinfo-9.0.0-py3-none-any.whl 21.8 KB -
wheels_stm32ai_modelzoo_py312/pyarrow-18.1.0-cp312-cp312-win_amd64.whl 23.9 MB -
wheels_stm32ai_modelzoo_py312/pyasn1-0.6.5-py3-none-any.whl 82.8 KB -
wheels_stm32ai_modelzoo_py312/pyasn1_modules-0.4.2-py3-none-any.whl 177.0 KB -
wheels_stm32ai_modelzoo_py312/pycocotools-2.0.11-cp312-abi3-win_amd64.whl 75.8 KB -
wheels_stm32ai_modelzoo_py312/pycparser-3.12-py3-none-any.whl 61.1 KB -
wheels_stm32ai_modelzoo_py312/pydantic-2.14.2-py3-none-any.whl 478.9 KB -
wheels_stm32ai_modelzoo_py312/pydantic_core-2.50.2-cp312-cp312-win_amd64.whl 2.1 MB -
wheels_stm32ai_modelzoo_py312/pygments-2.21.0-py3-none-any.whl 1.2 MB -
wheels_stm32ai_modelzoo_py312/pyparsing-3.3.3-py3-none-any.whl 123.5 KB -
wheels_stm32ai_modelzoo_py312/pyreadline3-3.5.6-py3-none-any.whl 83.2 KB -
wheels_stm32ai_modelzoo_py312/pyserial-3.5-py2.py3-none-any.whl 88.5 KB -
wheels_stm32ai_modelzoo_py312/pystoi-0.4.1-py2.py3-none-any.whl 8.0 KB -
wheels_stm32ai_modelzoo_py312/python_dateutil-2.9.0.post0-py2.py3-none-any.whl 224.5 KB -
wheels_stm32ai_modelzoo_py312/pytorchcv-0.0.73-py2.py3-none-any.whl 571.5 KB -
wheels_stm32ai_modelzoo_py312/pytz-2026.6-py2.py3-none-any.whl 494.5 KB -
wheels_stm32ai_modelzoo_py312/pyvww-0.1.1-py3-none-any.whl 8.7 KB -
wheels_stm32ai_modelzoo_py312/pywin32-312-cp312-cp312-win_amd64.whl 6.6 MB -
wheels_stm32ai_modelzoo_py312/pyyaml-6.0.3-cp312-cp312-win_amd64.whl 150.4 KB -
wheels_stm32ai_modelzoo_py312/referencing-0.37.0-py3-none-any.whl 26.1 KB -
wheels_stm32ai_modelzoo_py312/requests-2.28.2-py3-none-any.whl 61.3 KB -
wheels_stm32ai_modelzoo_py312/rich-15.0.0-py3-none-any.whl 303.4 KB -
wheels_stm32ai_modelzoo_py312/rpds_py-2026.9.1-cp312-cp312-win_amd64.whl 217.7 KB -
wheels_stm32ai_modelzoo_py312/safetensors-0.8.0-cp310-abi3-win_amd64.whl 347.2 KB -
wheels_stm32ai_modelzoo_py312/schema-0.7.8-py2.py3-none-any.whl 18.7 KB -
wheels_stm32ai_modelzoo_py312/scikit_image-0.26.0-cp312-cp312-win_amd64.whl 11.4 MB -
wheels_stm32ai_modelzoo_py312/scikit_learn-1.9.1-cp312-cp312-win_amd64.whl 7.9 MB -
wheels_stm32ai_modelzoo_py312/scipy-1.17.1-cp312-cp312-win_amd64.whl 34.9 MB -
wheels_stm32ai_modelzoo_py312/seaborn-0.13.2-py3-none-any.whl 288.0 KB -
wheels_stm32ai_modelzoo_py312/setuptools-84.2.1-py3-none-any.whl 855.7 KB -
wheels_stm32ai_modelzoo_py312/shapely-2.2.0-cp312-cp312-win_amd64.whl 1.7 MB -
wheels_stm32ai_modelzoo_py312/six-1.17.0-py2.py3-none-any.whl 10.8 KB -
wheels_stm32ai_modelzoo_py312/smmap-5.0.3-py3-none-any.whl 23.8 KB -
wheels_stm32ai_modelzoo_py312/soundfile-0.14.0-py2.py3-none-win_amd64.whl 997.5 KB -
wheels_stm32ai_modelzoo_py312/soxr-1.1.0-cp312-abi3-win_amd64.whl 170.3 KB -
wheels_stm32ai_modelzoo_py312/sqlalchemy-2.1.6-cp312-cp312-win_amd64.whl 2.3 MB -
wheels_stm32ai_modelzoo_py312/sqlparse-0.6.1-py3-none-any.whl 50.0 KB -
wheels_stm32ai_modelzoo_py312/sympy-1.14.0-py3-none-any.whl 6.0 MB -
wheels_stm32ai_modelzoo_py312/tabulate-0.9.0-py3-none-any.whl 34.4 KB -
wheels_stm32ai_modelzoo_py312/tensorboard-2.18.0-py3-none-any.whl 5.2 MB -
wheels_stm32ai_modelzoo_py312/tensorboard_data_server-0.7.2-py3-none-any.whl 2.3 KB -
wheels_stm32ai_modelzoo_py312/tensorflow-2.18.0-cp312-cp312-win_amd64.whl 7.3 KB -
wheels_stm32ai_modelzoo_py312/tensorflow_intel-2.18.0-cp312-cp312-win_amd64.whl 372.2 MB 4
wheels_stm32ai_modelzoo_py312/termcolor-3.3.0-py3-none-any.whl 7.6 KB -
wheels_stm32ai_modelzoo_py312/texttable-1.7.0-py2.py3-none-any.whl 10.5 KB -
wheels_stm32ai_modelzoo_py312/tf2onnx-1.16.1-py3-none-any.whl 445.1 KB -
wheels_stm32ai_modelzoo_py312/thop-0.1.1.post2209072238-py3-none-any.whl 15.1 KB -
wheels_stm32ai_modelzoo_py312/threadpoolctl-3.7.0-py3-none-any.whl 25.7 KB -
wheels_stm32ai_modelzoo_py312/tifffile-2026.3.3-py3-none-any.whl 238.2 KB -
wheels_stm32ai_modelzoo_py312/timm-1.0.19-py3-none-any.whl 2.4 MB -
wheels_stm32ai_modelzoo_py312/torch-2.7.1-cp312-cp312-win_amd64.whl 206.0 MB 3
wheels_stm32ai_modelzoo_py312/torchaudio-2.7.1-cp312-cp312-win_amd64.whl 2.4 MB -
wheels_stm32ai_modelzoo_py312/torchvision-0.22.1-cp312-cp312-win_amd64.whl 1.6 MB -
wheels_stm32ai_modelzoo_py312/tqdm-4.67.1-py3-none-any.whl 76.7 KB -
wheels_stm32ai_modelzoo_py312/truststore-0.10.5-py3-none-any.whl 18.6 KB -
wheels_stm32ai_modelzoo_py312/typing_extensions-4.16.0-py3-none-any.whl 44.5 KB -
wheels_stm32ai_modelzoo_py312/typing_inspection-0.4.4-py3-none-any.whl 14.4 KB -
wheels_stm32ai_modelzoo_py312/tzdata-2026.6-py2.py3-none-any.whl 340.0 KB -
wheels_stm32ai_modelzoo_py312/urllib3-1.26.13-py2.py3-none-any.whl 137.3 KB -
wheels_stm32ai_modelzoo_py312/waitress-3.0.2-py3-none-any.whl 54.9 KB -
wheels_stm32ai_modelzoo_py312/wcwidth-0.9.4-cp310-abi3-win_amd64.whl 583.8 KB -
wheels_stm32ai_modelzoo_py312/werkzeug-3.1.9-py3-none-any.whl 223.3 KB -
wheels_stm32ai_modelzoo_py312/wget-3.2-py3-none-any.whl 9.5 KB -
wheels_stm32ai_modelzoo_py312/wheel-0.48.0-py3-none-any.whl 32.5 KB -
wheels_stm32ai_modelzoo_py312/win32_setctime-1.2.1-py3-none-any.whl 4.1 KB -
wheels_stm32ai_modelzoo_py312/wrapt-2.5.2-cp312-cp312-win_amd64.whl 103.7 KB -
wheels_stm32ai_modelzoo_py312/zipp-4.1.2-py3-none-any.whl 10.3 KB -

Each file keeps the license of its original publisher (see the notes above).

Master index

This is one of 19 repos (AFCI_part1 โ€ฆ AFCI_part19). Overview of all parts: AFCI_part6 / 00_START_HERE_MASTER_INDEX.md ยท Installation: AFCI_part6 / 00_INSTALLATION_GUIDE.md

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support