Code Monkey home page Code Monkey logo

cpc-tensorflow's Introduction

CPC-Tensorflow (Contrastive Predictive Coding)

Tensorflow implementation of Representation Learning with Contrastive Predictive Coding

Features

  • Resnet101

Explanations

cpc vision model cpc explanation

Status

model.py is intend to adopt various domain.

References

cpc-tensorflow's People

Contributors

flrngel avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cpc-tensorflow's Issues

Batch Normalization not Dropped

Thanks very much for this share.
I noticed that the original paper said they do not use batch normalizaiton in the ResNet101 encoder, however, bn is still applied in this implementation. Will this be problematic? How will this change affects the representations extracted by the model?

Performance

Thank you for releasing the source code, but I wonder have you got the same result of its paper?

I've rewrite your code and struggling for the result for a couple of days.

Classification accuracy of the model

Hi,
I wonder if there is any hint on the final classification accuracy on the cpc representations. (One linear classifier built on top of the well-extracted cpc-features). I ran the code but only got around 25% accuracy on the FASHION_MNIST data after 30000 iters training in the final evaluation, which is weird.

There might be something wrong with my experiment, is here any thing that I should pay more attention run the code? I just directly run the model, train the cpc feature extractor and then set "mode" to be "validation" and train the final classifier.

labeling for Resnet

While applying ResNet are you passing labels?
If yes then for every patch the label has been included? As there are of 49 patches per image.
So I would like to know patch wise labeling(i.e 49 times same label is repeated) is there or image wise?

function @?

Thank you for your source code! But I have question in model.py[#37],I have not seen the @ on this condition!Could you give me some clues?

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.