天天看點

TF學習——TF之TensorFlow Slim:TensorFlow Slim的簡介、安裝、使用方法之詳細攻略

TensorFlow Slim的簡介

      TF-Slim is a lightweight library for defining, training and evaluating complex models in TensorFlow. Components of tf-slim can be freely mixed with native tensorflow, as well as other frameworks, such as tf.contrib.learn.  

TensorFlow-Slim

TF學習——TF之TensorFlow Slim:TensorFlow Slim的簡介、安裝、使用方法之詳細攻略

      TensorFlow Slim 是Google 公司公布的一個圖像分類工具包,它不僅定義了一些友善的接口,還提供了很多ImageNet 資料集上常用的網絡結構和預訓練模型。slim作為一種輕量級的tensorflow庫,使得模型的建構,訓練,測試都變得更加簡單。

        截至2017 年7 月, Slim 提供包括VGG16 、VGG19 、Inception Vl ~ V4, ResNet50 、ResNet101, MobileNet 在内大多數常用模型的結構以及預訓練模型,更多的模型還會被持續添加進來。

TensorFlow Slim的安裝

1、可以使用git指令下載下傳,得到的檔案如下圖所示

TF學習——TF之TensorFlow Slim:TensorFlow Slim的簡介、安裝、使用方法之詳細攻略

2、Windows系統下加載slim檔案夾子產品

因為無法通過加載環境變量的方式,是以采用先建立,然後setup的方式搞定!

python setup.py build

python setup.py install

TensorFlow Slim的使用方法

後期繼續更新……