Giter Site home page Giter Site logo

hikapok / xception_tensorflow Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 3.0 407 KB

Xception V1 model in Tensorflow with pretrained weights on ImageNet

License: MIT License

Python 100.00%
xception model tensorflow weights pretrained depthwise-separable-convolutions

xception_tensorflow's Introduction

Xception V1 model for Tensorflow with pre-trained weights on ImageNet

This repository contains code of the un-official re-implement of Xception model.

Xception is a novel deep convolutional neural network architecture, where Inception modules have been replaced with depthwise separable convolutions. With a similar parameter count, Xception significantly outperforms Inception V3 on a larger image classification dataset called JFT. More details can be found in the original paper: Xception: Deep Learning with Depthwise Separable Convolutions.

In order to accelerate further research based on Xception, I would like to share the pre-trained weights on ImageNet for Xception, you can download from Google Drive. The pre-trained weights are converted from Keras Xception in Tensorflow using MMdnn with other post-processing. All rights related to the pre-trained weights belong to the original author of Keras.

This code and the pre-trained weights only can be used for research purposes.

The canonical input image size for this Xception is 299x299, each pixel value should in range [-1,1](RGB order), and the input preprocessing function is the same as Inception V3. According to the doc in Keras, this model gets to a top-1 validation accuracy of 0.790 and a top-5 validation accuracy of 0.945 on ImageNet.

The code is tested under Tensorflow 1.5, Python 3.5, Ubuntu 16.04.

If you need test this code by yourself, just follow the code snippets at the bottom of Xception.py, and put the pre-trained weights under the 'model' folder.

Other scaffold need to be build for training from scratch. You can refer to resnet/imagenet_main for adding weight decay to the loss manually.

The MIT License

xception_tensorflow's People

Contributors

hikapok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

xception_tensorflow's Issues

Feature extraction

@HiKapok How can I extract features of my own dataset as every image have a vector represent it's features?. I already trained Xception and i have .ckpt and .meta files for my dataset.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.