micheletufano / autoencode Goto Github PK
View Code? Open in Web Editor NEWAutoenCODE is a Deep Learning infrastructure that allows to encode source code fragments into vector representations, which can be used to learn similarities.
AutoenCODE is a Deep Learning infrastructure that allows to encode source code fragments into vector representations, which can be used to learn similarities.
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:
Please let me know if I am missing out something.
Thanks.
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?
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.