python,使用TNC模型的时候,如何使其不显示,Epoch 14/100 1/1 [==============================] - 0s 47ms/step - loss: 0.4898 Epoch 15/100 1/1 [==============================] - 0s 44ms/step - loss: 0.5019 Epoch 16/100 1/1 [==============================] - 0s 45ms/step - loss: 0.5375 Epoch 17/100 1/1 [==============================] - 0s 46ms/step - loss: 0.5063 Epoch 18/100 1/1 [==============================] - 0s 44ms/step - loss: 0.4357
时间: 2023-07-24 21:20:37 浏览: 235
tnc1-python-config:用于配置 Mobilinkd TNC 的 Python 包
可以在训练模型时,设置verbose参数为0,这样就不会显示每个epoch的训练情况了。例如:
```
model.fit(X_train, y_train, epochs=100, verbose=0)
```
阅读全文