【编程】Last 10 entries to the Code Project

由于未提供博客具体内容,无法生成包含关键信息的摘要。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

D:\PythonProject\moxing1\.venv\Scripts\python.exe D:\PythonProject\moxing1\try.py 2025-08-14 11:54:44.533197: I tensorflow/core/util/port.cc:153] 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`. 2025-08-14 11:54:45.265285: I tensorflow/core/util/port.cc:153] 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 D:\PythonProject\moxing1\.venv\Lib\site-packages\tf_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. 标签映射完成:原始[ 0 1 2 3 9 10 11] → 映射后[0 1 2 3] 2025-08-14 11:55:09.592872: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. Traceback (most recent call last): File "D:\PythonProject\moxing1\try.py", line 125, in <module> model, history = train() ^^^^^^^ File "D:\PythonProject\moxing1\try.py", line 98, in train model.compile( File "D:\PythonProject\moxing1\.venv\Lib\site-packages\tensorflow\python\keras\engine\training.py", line 568, in compile self.optimizer = self._get_optimizer(optimizer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\PythonProject\moxing1\.venv\Lib\site-packages\tensorflow\python\keras\engine\training.py", line 606, in _get_optimizer return nest.map_structure(_get_single_optimizer, optimizer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\PythonProject\moxing1\.venv\Lib\site-packages\tensorflow\python\util\nest.py", line 628, in map_structure return nest_util.map_structure( ^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\PythonProject\moxing1\.venv\Lib\site-packages\tensorflow\python\util\nest_util.py", line 1065, in map_structure return _tf_core_map_structure(func, *structure, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\PythonProject\moxing1\.venv\Lib\site-packages\tensorflow\python\util\nest_util.py", line 1105, in _tf_core_map_structure [func(*x) for x in entries], ^^^^^^^^ File "D:\PythonProject\moxing1\.venv\Lib\site-packages\tensorflow\python\keras\engine\training.py", line 597, in _get_single_optimizer opt = optimizers.get(opt) ^^^^^^^^^^^^^^^^^^^ File "D:\PythonProject\moxing1\.venv\Lib\site-packages\tensorflow\python\keras\optimizers.py", line 127, in get raise ValueError( ValueError: Could not interpret optimizer identifier: <tf_keras.src.optimizers.adam.Adam object at 0x000001FE44E39280> Process finished with exit code 1
最新发布
08-15
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值