Coder Social home page Coder Social logo

kamnitsask / ssl_compact_clustering Goto Github PK

View Code? Open in Web Editor NEW
46.0 46.0 10.0 23.77 MB

Semi-supervised learning via Compact Latent Space Clustering

License: Apache License 2.0

Python 100.00%
contrastive-learning deep-learning label-propagation neural-networks semi-supervised-learning

ssl_compact_clustering's People

Contributors

kamnitsask 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

Watchers

 avatar  avatar  avatar

ssl_compact_clustering's Issues

Model not learning with Tensoflow2

After communications with a user (thanks Shadab), we found that if this code is run using Tensorflow-2, training the model does not lead to learning/convergence. In fact, error goes super-high, eg 90% on mnist.

On his same settings, simply downgrading to Tensorflow 1.13 (where the code was written) solves this and everything works like normal.

Please use Tensorflow-1 for now (I ve tested till 1.13).

I will try to make time and update my projects to TF2 in the next few months (hopefully Dec'19 + Jan'20). But maintaining all projects takes quite some time so please excuse delays.

Thank you,
Konstantinos

Existence of inverse matrix (I_uu-H_uu)

Hi,

I am working on reproducing your work using pyTorch.

I have trouble with matrix inverse.

I saw that you use tf.matrix_inverse to compute matrix inverse.

However, I think that some I_uu - H_uu doesn't full rank so that that matrix is not invertible.

In tensorflow doc,

If a matrix is not invertible there is no guarantee what the op does. It may detect the condition and raise an exception or it may simply return a garbage result.

Is there any guarantee that I_uu - H_uu is always invertible??

Thanks,

Loss divide by N instead of N^2?

From what I see in this line, the existence of tf.reduce_sum causes the tf.reduce_mean to divide by N instead of N^2 as stated in equation (9) in the paper.

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.