Tensorflow implementation of Representation Learning with Contrastive Predictive Coding
- Resnet101
model.py
is intend to adopt various domain.
- davidtellez/contrastive-predictive-coding
- davidtellez used sequence generator to make sequential cpc
Tensorflow implementation of "Representation Learning with Contrastive Predictive Coding"
Tensorflow implementation of Representation Learning with Contrastive Predictive Coding
model.py
is intend to adopt various domain.
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?
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.
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.
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?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.