kwotsin/TensorFlow-Xception
关于
TensorFlow implementation of the Xception Model by François Chollet
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文TensorFlow-Xception
TensorFlow implementation of the Xception Model by François Chollet, based on the paper: Xception: Deep Learning with Depthwise Separable Convolutions.
As an example, the model will be trained on the Flowers dataset.
Contents
- xception.py: The model implementation file.
- xception_preprocessing.py: This is the exact same preprocessing used for inception models.
- xception_test.py: A test file to check for the correctness of the model implementation. Can be executed by itself.
- write_pb.py: A file to freeze your graph for inference purposes after training your model.
- train_flowers.py: An example script to train an Xception model on the flowers dataset.
- eval_flowers.py: An example script to evaluate your trained Xception model.
- dataset: A folder containing the flowers dataset prepared in TFRecords format.
How to Run
- run
python train_flowers.pyfrom the root directory to start training your Xception model from scratch on the Flowers dataset. A log directory will be created. - run
tensorboard --logdir=logon the root directory to get your tensorboard visualizations. - Tweak around with the hyperparameters and have fun! :D
Customization
You can simply change the dataset files and the appropriate names (i.e. anything that has the name 'flowers') to use the network for your own purposes. Importantly, you should be able to obtain the TFRecord files for your own dataset to start training as the data pipeline is dependent on TFRecord files. To learn more about preparing a dataset with TFRecord files, see this guide for a reference.
References
- Xception: Deep Learning with Depthwise Separable Convolutions.
- Code from the transfer learning guide
- Keras implementation of the model
- TF-Slim layers reference
Citation
If you are using this work in your research, please consider citing:
@misc{kwot_sin_lee_2017_3403277,
author = {Kwot Sin Lee},
title = {kwotsin/TensorFlow-Xception: TensorFlow-Xception},
month = may,
year = 2017,
doi = {10.5281/zenodo.3403277},
url = {https://doi.org/10.5281/zenodo.3403277}
}
探索相关项目
加载中…