當前位置:
首頁 > 知識 > TensorFlow 項目模板架構最佳實踐

TensorFlow 項目模板架構最佳實踐

一個簡單且設計良好的架構對於任何深度學習項目來講非常有必要,這裡的 Tensorflow 項目模板經過了大量的實踐,擁有簡單性、良好的文件結構以及 OOP 設計等特點。該庫的模板能夠幫助開發者快速開啟項目,使其更加專註於核心目標(模型、訓練等).


Github 地址:

https://github.com/Mrgemy95/Tensorflow-Project-Template


內容列表:

項目結構


文件結構

├── base

│ ├── base_model.py -thisfile contains the abstractclassofthemodel.

│ └── base_train.py -thisfile contains the abstractclassofthetrainer.

├── model -thisfolder contains any modelofyour project.

│ └── example_model.py

├── trainer -thisfolder contains trainersofyour project.

│ └── example_trainer.py

├── mains - here"s the main(s) of your project (you may need more than one main).

│ └── example_main.py - here"s an exampleofmain thatisresponsibleforthe whole pipeline.

├── data _loader

│ └── data_generator.py - here"s the data_generator that is responsible for all data handling.

└── utils

├── logger.py

└── any_other_utils_you_need

春節 AI 學習狂歡,精品課程 豪華特輯

優惠折上折,福利搶不停!


喜歡這篇文章嗎?立刻分享出去讓更多人知道吧!

本站內容充實豐富,博大精深,小編精選每日熱門資訊,隨時更新,點擊「搶先收到最新資訊」瀏覽吧!


請您繼續閱讀更多來自 AI研習社 的精彩文章:

北航張歡:如何運用深度學習進行位姿測量?
YOLO,一種簡易快捷的目標檢測演算法

TAG:AI研習社 |