Code Monkey home page Code Monkey logo

airbus-ship-detection-web's People

Contributors

helibu avatar ruxinbu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

airbus-ship-detection-web's Issues

Some review of your classification network

model = Sequential()

model.add(Convolution2D(32, (3, 3),
                       input_shape=(256, 256, 3),
                       strides = (1,1), 
                       padding = 'same',
                       kernel_initializer='he_normal',
                       activation='relu'))
model.add(BatchNormalization())
model.add(AvgPool2D(pool_size=(2, 2)))


model.add(Convolution2D(32, (3, 3),
                       input_shape=(256, 256, 3),
                       strides = (1,1), 
                       padding = 'same',
                       activation='relu'))
model.add(MaxPooling2D(pool_size=(2, 2)))


model.add(Convolution2D(32, (3, 3),
                       input_shape=(256, 256, 3),
                       strides = (1,1), 
                       padding = 'same',
                       activation='relu'))

model.add(MaxPooling2D(pool_size=(2, 2)))


model.add(Convolution2D(32, (3, 3),
                       input_shape=(256, 256, 3),
                       strides = (1,1), 
                       padding = 'same',
                       activation='relu'))

model.add(MaxPooling2D(pool_size=(2, 2)))

model.add(Flatten())

model.add(Dense(units=128, activation='relu', kernel_initializer='normal'))
model.add(Dense(units=1, activation='sigmoid', kernel_initializer='normal'))

model.compile(optimizer='adam',
             loss='binary_crossentropy',
             metrics=['accuracy'])
model.summary()
  1. You want to use a simple network to speed up the classification process. But I think the size of convolutional layer may not increase the parameter number very much. Maybe you can try deeper convolutionala layers, or just simply use a well-build net architecture, like googlenet.
  2. I can't find input_shape parameter in the Keras doc of Conv2d. And strides = (1,1) is the default value. Maybe you don't need to add these two lines in every conv2d layer.
  3. You talk about you are considering about the overfitting. I notice that there are no dropout and input data augmentation in your network, maybe you can try add these features.
  4. The ship detection on Kaggle is a image segmentation task, while you just classifying. Maybe you should start working on U-net. Hope to see you on the Kaggle leaderboard :)

Where can I access your codes?

You have a great illustration of your work and result. But I suppose your project does not contain only one .py file. So if I want to learn your project architecture, could I visit your whole project on Github?

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.