我正在为喀拉拉邦建立用于图像分类的预训练初始模型 我正在尝试生成张量板,但收到类似``无法创建目录的错误: 代码:
from tensorflow.keras.callbacks import TensorBoard
from time import time
tensorboard = TensorBoard(log_dir="logs/{}".format(time()))
history= model_inc.fit(trainX,trainY,epochs=9,batch_size=16,
validation_data=(testX,testY),
shuffle=True,verbose=1,
callbacks=[tensorboard])