GithubHelp home page GithubHelp logo

micheletufano / autoencode Goto Github PK

View Code? Open in Web Editor NEW
59.0 59.0 15.0 16.42 MB

AutoenCODE is a Deep Learning infrastructure that allows to encode source code fragments into vector representations, which can be used to learn similarities.

MATLAB 62.10% Shell 5.05% C 31.32% C++ 0.16% M 0.06% Python 0.96% Makefile 0.36%
autoencoder deep-learning language-model source-code

autoencode's People

Contributors

micheletufano 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

Watchers

 avatar  avatar  avatar  avatar  avatar

autoencode's Issues

Can't find corpora.types

Hi
I had trained a corpus using your tool. Now I want to test another corpus using the same model. So for that, I made a slight modification to your code in ComputeSimilarities.m.

Instead of :
load(strcat(ODIR,'/data.mat'));
I changed it to :
[corpora,labels,vocabulary,We] = preprocess(IDIR,ODIR,MAX_SENTENCE_LENGTH);
so that it calculates data.mat and gives me the attributes. After I run the modified ComputeSimilarities.m, I get the following error:

image

Please let me know if I am missing out something.
Thanks.

How to deal with `Step direction is illegal!`

When I run run_rae.sh on my custom dataset, it appears:

Starting parallel pool (parpool) using the 'local' profile ...
Connected to the parallel pool (number of workers: 6).
 Iteration   FunEvals     Step Length    Function Val        Opt Cond
Step direction is illegal!

Position train (line 19)
[opttheta,cost] = minFunc(@(p)costfunc(p, ...

Position main (line 36)
[opttheta,cost,freq] = train(ODIR, ...

More specifically, I observe that the variable d is an array of NaN (line 938, minFunc.m), which is reported to be illegal.

Why this situation happens? And how to deal with this problem?

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.