-
Notifications
You must be signed in to change notification settings - Fork 1
Description
CodeProject.AI Server info
Server version: 2.9.5
System: Windows
Operating System: Windows (Windows 11 24H2)
CPUs: Intel(R) Core(TM) i5-9500T CPU @ 2.20GHz (Intel)
1 CPU x 6 cores. 6 logical processors (x64)
GPU (Primary): Intel(R) UHD Graphics 630 (1,024 MiB) (Intel Corporation)
Driver: 31.0.101.2115
System RAM: 24 GiB
Platform: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
Runtimes installed:
.NET runtime: 9.0.0
.NET SDK: Not found
Default Python: Not found
Go: Not found
NodeJS: 22.20.0
Rust: Not found
Video adapter info:
Intel(R) UHD Graphics 630:
Driver Version 31.0.101.2115
Video Processor Intel(R) UHD Graphics Family
System GPU info:
GPU 3D Usage 21%
GPU RAM Usage 0
Global Environment variables:
CPAI_APPROOTPATH =
CPAI_PORT = 32168
Describe the bug
SoundClassifierTF: Installing Python packages for Sound Classifier (TensorFlow)
Error SoundClassifierTF: 2025-10-27 00:20:07.228094: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
Error SoundClassifierTF: WARNING:tensorflow:From C:\Program Files\CodeProject\AI\modules\SoundClassifierTF\bin\windows\python39\venv\lib\site-packages\keras\src\losses.py:2976: The name tf.losses.sparse_softmax_cross_entropy is deprecated. Please use tf.compat.v1.losses.sparse_softmax_cross_entropy instead.
Error SoundClassifierTF: WARNING:tensorflow:From C:\Program Files\CodeProject\AI\modules\SoundClassifierTF\sound_classification.py:15: The name tf.disable_v2_behavior is deprecated. Please use tf.compat.v1.disable_v2_behavior instead.
Error SoundClassifierTF: WARNING:tensorflow:From C:\Program Files\CodeProject\AI\modules\SoundClassifierTF\bin\windows\python39\venv\lib\site-packages\tensorflow\python\compat\v2_compat.py:108: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Error SoundClassifierTF: Instructions for updating:
Error SoundClassifierTF: non-resource variables are not supported in the long term
Error SoundClassifierTF: WARNING:tensorflow:From C:\Program Files\CodeProject\AI\modules\SoundClassifierTF\sound_classification.py:16: The name tf.logging.set_verbosity is deprecated. Please use tf.compat.v1.logging.set_verbosity instead.
Error SoundClassifierTF: C:\Program Files\CodeProject\AI\modules\SoundClassifierTF\bin\windows\python39\venv\lib\site-packages\resampy\filters.py:32: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
Error SoundClassifierTF: import pkg_resources
Error SoundClassifierTF: 2025-10-27 00:20:21.007099: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
Error SoundClassifierTF: To enable the following instructions: SSE SSE2 SSE3 SSE4.1 SSE4.2 AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Error SoundClassifierTF: C:\Program Files\CodeProject\AI\modules\SoundClassifierTF\bin\windows\python39\venv\lib\site-packages\tensorflow\python\keras\engine\base_layer_v1.py:1697: UserWarning: layer.apply is deprecated and will be removed in a future version. Please use layer.__call__ method instead.
Error SoundClassifierTF: warnings.warn('layer.apply is deprecated and '
Error SoundClassifierTF: C:\Program Files\CodeProject\AI\modules\SoundClassifierTF\bin\windows\python39\venv\lib\site-packages\tensorflow\python\keras\legacy_tf_layers\core.py:318: UserWarning: tf.layers.flatten is deprecated and will be removed in a future version. Please use tf.keras.layers.Flatten instead.
Error SoundClassifierTF: warnings.warn('tf.layers.flatten is deprecated and '
Error SoundClassifierTF: 2025-10-27 00:20:21.443325: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:388] MLIR V1 optimization pass is not enabled
Error SoundClassifierTF: C:\Program Files\CodeProject\AI\modules\SoundClassifierTF\bin\windows\python39\venv\lib\site-packages\tensorflow\python\keras\engine\base_layer_v1.py:1697: UserWarning: layer.apply is deprecated and will be removed in a future version. Please use layer.__call__ method instead. Error SoundClassifierTF: warnings.warn('layer.apply is deprecated and '
To Reproduce
Steps to reproduce the behavior:
- Install CPAI v 2.9.5 and select SoundClassifierTF to be installed.
- Start the CPAI server from the command line
- As the server starts up, it eventually installs SoundClassifierTF and these errors above are output
Expected behavior
Unclear if these errors effect the operation of SoundClassifierTF, but I cannot get SoundClassifierTF to work.
Screenshots
Desktop (please complete the following information):
- OS: Win11 IoT LTSC
- Browser FireFox
- Version [e.g. 22]
Additional context
I have uninstalled and reinstalled CodeProject AI several times before it started working, I don't know if these uninstall/reinstall are part of the issue, but appears that some older tensor code needs to be updated.