首页 > 解决方案 > model.fit 和 tensorflow.js 的详细说明

问题描述

如何在 TensorFlow.js 中获取 model.fit 详细信息

我已经尝试过:

  await model.fit(xs, ys, {
    verbose: 1,
    epochs: 1000,
    shuffle: true
  });

  await model.fit(xs, ys, {
    verbose: 2,
    epochs: 1000,
    shuffle: true
  });

  await model.fit(xs, ys, verbose=1, {
    epochs: 1000,
    shuffle: true
  });

  await model.fit(xs, ys, true, {
    epochs: 1000,
    shuffle: true
  });

但没有任何效果。任何想法?

标签: javascripttensorflow

解决方案


您应该在 tf.js 中使用“tfvis”来详细说明


推荐阅读