【问题标题】:What is the difference between TF model garden and tf.keras.applications?TF模型花园和tf.keras.applications有什么区别?
【发布时间】:2020-04-23 14:30:11
【问题描述】:

在新的 TensorFlow 2 中,我们有他们的 Model Garden(在 GitHub 中的 /models 下),以及用于 Keras 的预训练模型在 tf.keras.applications 下。

这两者有什么区别?

【问题讨论】:

    标签: tensorflow keras


    【解决方案1】:

    Tensorflow Keras 应用程序
    - CNN 的预训练模型。它们包括最常用的 CNN 架构,例如 ResNet、InceptionNet、VGG 等。
    - tf.keras.applications 允许您直接导入 CNN 架构(请参阅文档https://www.tensorflow.org/api_docs/python/tf/keras/applications?hl=en)自定义其损失并根据需要使用它。

    Tensorflow 模型花园
    - 其他任务的模型,例如 NLP、对象检测等。这些模型也由 TensorFlow 维护。
    - tf 模型花园不是 tf 核心 API 的一部分,因此您不能像 tf.applications 那样直接导入它们。

    【讨论】:

      猜你喜欢
      • 2021-08-16
      • 1970-01-01
      • 2010-12-05
      • 1970-01-01
      • 1970-01-01
      • 2023-03-06
      • 2023-03-22
      • 2020-08-07
      • 1970-01-01
      相关资源
      最近更新 更多