Git Product home page Git Product logo

Comments (15)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
can you give the part of the data and code for which this happens?

also did you run randomforest before in the same matlab instance and cancel it 
by any chance 
via ctrl+C?

thanks

Original comment by abhirana on 21 Apr 2010 at 9:13

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
[deleted comment]

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
I ran below codes, but it happens again.

>> train_data = rand(10,100);
>> train_label = [ones(5,1); ones(5,1)*-1];
>> Model = classRF_train(train_data, train_label, 0, 0);

Yes, I think I canceled job with ctrl+C.
However, I logged out and ran it again, but still it happens.

Thanks. 



Original comment by [email protected] on 23 Apr 2010 at 10:01

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
well i am not able to reproduce the problem on linux with ssh(ing) from the 
same machine. And 
also from windows to a linux machine via putty

i can suggest the following: try using putty as a ssh client or use `screen' 
command to spawn 
matlab and see.

btw is the X being forwarded on windows via SSH? try using without the 
forwarding

Original comment by abhirana on 23 Apr 2010 at 10:15

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
I just found that this happens when I run matlab with nodisplay option.
In the command line.
>> matlab -nodisplay

I run the matlab on console mode then it happens. 

Thanks.



Original comment by [email protected] on 26 Apr 2010 at 3:53

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
sorry i could not get to you earlier.

if it is same to you, i.e getting matlab on ssh, try with matlab -nojvm and 
with a different ssh 
client

i am still not able to reproduce the same error on my machine with and without 
ssh and using 
the nodisplay option

Original comment by abhirana on 7 May 2010 at 2:43

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
I tried -nojvm with putty but the problems is still the same.

Thanks.

Original comment by [email protected] on 7 May 2010 at 5:02

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
I too am getting exactly the same error as korjcjeong. I am using 7.5.0.342 
(R2007b).
In particular, the problem only happens for classification (i.e. when using 
classRF_train.m) and not for regression (i.e. refRF_train.m is OK).  I wonder 
if there is an issue using calloc [e.g. double* countts = (double*) 
calloc(nclass * nts,sizeof(double)); on line 189] instead of letting MATLAB 
doing the memory managment, as is recommended, or a memory leak.

Original comment by [email protected] on 30 Jul 2010 at 7:19

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
so are you also using it in the same setting of ssh's and using matlab? i was 
never able to reproduce the same problem.


well matlab variables cannot be used in the C code if they are to be written 
to, they are good only for reading, thats why there are allocs in C.

Original comment by abhirana on 31 Jul 2010 at 9:07

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Hi,

I also have the same problem. Matlab freezes after it returns from 
classRF_train when I run matlab through ssh without GUI.
I tried this on SUSE and REDHAT and both get stuck after classRF_train and also 
classRF_predict.
It works without problem when I run matlab with GUI.

Thanks,
MJ

Original comment by [email protected] on 28 Jun 2012 at 5:03

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
@MJ

did you try out my earlier suggestion in the other thread?

possible issue might be that particular version of gfortran and g++ don't work 
well in conjunction with malloc and matlab. try to sync with the svn source 
which replaces mallocs by matlab based malloc mxMalloc 
http://code.google.com/p/randomforest-matlab/source/checkout

Original comment by abhirana on 28 Jun 2012 at 10:36

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
I have solved this problem by disabling X11 tunneling.


Original comment by [email protected] on 29 Jun 2012 at 9:05

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
[deleted comment]

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
I forgot to mention that, yes I updated gfortran and g++ to 4.4.1 version and I 
use the latest version on the repository but still I have the problem. I'm 
trying to reproduce the problem to find out more about the issue. I'll provide 
more information if I find any.

Thanks,
MJ

Original comment by [email protected] on 29 Jun 2012 at 10:32

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
hi mj

what options do you use to run matlab in ssh?  korjc (thanks!) reported it 
might be due to X11 tunneling. the other option is to see if one or a 
combination of the startup options is causing issue (comment-5), startup 
options include either -nojvm -nodisplay

if you a test code i can try it on my machines and try to see if i can 
reproduce them on debian.

Original comment by abhirana on 30 Jun 2012 at 1:16

from randomforest-matlab.

Related Issues (20)

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.