GithubHelp home page GithubHelp logo

fluxmodels.jl's Introduction

FluxModels

Stable Dev Build Status

fluxmodels.jl's People

Contributors

dnabanita7 avatar darsnack avatar a-r-n-o-l-d avatar github-actions[bot] avatar

Stargazers

Sacha Muszlak avatar  avatar Peter avatar

Watchers

James Cloos avatar Brian Chen avatar  avatar  avatar  avatar

fluxmodels.jl's Issues

Add standard vision models

Add standard vision models that replicates: https://pytorch.org/docs/stable/torchvision/models.html

We want Flux implementations of the architectures. These can be untrained models for now, and we can add another issue for providing pre-trained weights. The models should be input size agnostic so that they can work with CIFAR or ImageNet. PyTorch does this with an Adaptive2DPool layer between the feature extractors and the fully-connected layers. Supporting similar functionality might require a PR to Flux.jl.

List of models:

  • VGG
    • VGG11 (w/ and w/o batch norm)
    • VGG13 (w/ and w/o batch norm)
    • VGG16 (w/ and w/o batch norm)
    • VGG19 (w/ and w/o batch norm)
  • ResNet
    • ResNet18
    • ResNet34
    • ResNet50
    • ResNet101
    • ResNet152
  • AlexNet
  • InceptionNet
    • GoogLeNet
    • Inception v3
    • Inception v4

Add some simple tests

It is hard to test this package, because we don't want to run training on the CI. But, a simple test can be passing through a random tensor and ensuring the output size is the expected size. Here is an example:

m = alexnet()
@test size(m(rand(256, 256, 3, 50))) == (1000, 50)

We would add such tests for every model configuration. This ensures that the models can at least do a forward pass with no errors.

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.