I have created a cloud function that triggers when an audio file is uploaded to cloud storage. The function runs a machine learning model using the uploaded .pkl file and a sample of the incoming audio to generate predictions. The predictions are then sent back to the cloud storage in .txt format. The model is built using TensorFlow.
However, after deploying the function to the cloud, when I uploaded an audio file to my bucket, I noticed that there was no output generated in my bucket. I encountered the following errors.
I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used."
I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations." “To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.”
W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT"
I tensorflow/core/common_runtime/executor.cc:1197] [/device:CPU:0] (DEBUG INFO) Executor start aborting (this does not indicate an error and you can ignore this message): INVALID_ARGUMENT: You must feed a value for placeholder tensor ‘gradients/split_2_grad/concat/split_2/split_dim’ with dtype int32"
[{{node gradients/split_2_grad/concat/split_2/split_dim}}]]
I tensorflow/core/common_runtime/executor.cc:1197] [/device:CPU:0] (DEBUG INFO) Executor start aborting (this does not indicate an error and you can ignore this message): INVALID_ARGUMENT: You must feed a value for placeholder tensor ‘gradients/split_grad/concat/split/split_dim’ with dtype int32"
I tensorflow/core/common_runtime/executor.cc:1197] [/device:CPU:0] (DEBUG INFO) Executor start aborting (this does not indicate an error and you can ignore this message): INVALID_ARGUMENT: You must feed a value for placeholder tensor ‘gradients/split_1_grad/concat/split_1/split_dim’ with dtype int32"
Layer ‘conv2d’ expected 2 variables, but received 0 variables during loading. Expected: [‘conv2d/kernel:0’, ‘conv2d/bias:0’]"