PS C:\Users\bsbul\Desktop\New folder> python inference.py 2024-01-14 00:58:29.011490: I…
- User
PS C:\Users\bsbul\Desktop\New folder> python inference.py 2024-01-14 00:58:29.011490: 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. WARNING:tensorflow:From C:\Users\bsbul\AppData\Local\Programs\Python\Python39\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.WARNING:tensorflow:From C:\Users\bsbul\AppData\Local\Programs\Python\Python39\lib\site-packages\keras\src\backend.py:277: The name tf.reset_default_graph is deprecated. Please use tf.compat.v1.reset_default_graph instead.
C:\Users\bsbul\Desktop\New folder\inference.py:25: FutureWarning: The argument 'date_parser' is deprecated and will be removed in a future version. Please use 'date_format' instead, or read your data in as 'object' dtype and then call 'to_datetime'. df = pd.read_csv('daily2023.csv', parse_dates=['Date'], date_parser=parse_date, index_col='Date') 2024-01-14 00:58:32.570180: 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: SSE SSE2 SSE3 SSE4.1 SSE4.2 AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. Epoch 1/150 WARNING:tensorflow:From C:\Users\bsbul\AppData\Local\Programs\Python\Python39\lib\site-packages\keras\src\utils\tf_utils.py:492: The name tf.ragged.RaggedTensorValue is deprecated. Please use tf.compat.v1.ragged.RaggedTensorValue instead.
- Assistant
It looks like there are a few warnings and information messages here due to the usage of deprecated TensorFlow and Keras functions in the Python script
inference.py. Let's address each of these messages to understand what's going on: