-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spend long time to traning data #21
Comments
I have met the same question,do you have any solutions later? @mjohn123 |
I still looking for the solution. I did not solve it yet |
Is your gpu frequency very low like 1Hz or normal? My gpu properties:
train: epoch 01: 1/565: 0.9 Hz accuracy: 0.677 0.048 0.032 objective: 3.044 |
Hi brisker. This is my GPU. Note that, I just used CUDA (not cudnn) for my simulation. I ran matconvnet with cuda mode successful.
|
What kind of mistakes do you think may be the reason? Have you got some ideas?What is your Matlab version? |
Hello, I am using Matlab 8.6.0.267246 (R2015b) |
I was able to get ~0.5 Hz with a CPU and >5 Hz with a GPU (GeForce GTX TITAN X). |
Thank jingyanw. You are right. My GPU did not use when I training (as the attach file). That is reason why it spend long time (just use CPU). How could I solve it (or active GPU) for fcnTrain? I am using win 10-matlab 2015b. I installed matconvnet by using the command vl_compilenn('enableGpu', true) and run test with
If I set opts.train.gpus = 1; then the error is
|
The error indicates that you do not have enough GPU memory. Running FCN takes ~5GB GPU memory on my machine. |
I see. My GPU only has 2GB. I also have GPU on CPU chip, but I think it is not useful. Thank you for your help. I think I can only use CPU. |
@jingyanw Hello, I also got it around 5.5Hz with titan x, but why the classification examples like mnist is more than 1000 Hz but why this fcnTrain is so slow? |
@brisker I also got it around 5.5 using Pascal Titan X. My problem is when it finished epoch 01 and started to run epoch 02, following error showed up train: epoch 02: 1/ 56:Error using gpuArray Error in getBatch (line 91) Error in fcnTrain>@(imdb,batch)getBatch(imdb,batch,opts,'prefetch',nargout==0) (line 108) Error in cnn_train_dag>process_epoch (line 197) Error in cnn_train_dag (line 83) Error in fcnTrain (line 99) |
Hello, I have 12GB RAM on GPU (Titan) and 8GM Ram on CPU. My net is encounter error as "Out of memory on device" which is required only 4GM RAM. Does anyone have similar experience? Any suggestion? Thanks. |
Hello all, I am running the fcnTrain on my PC (core i7, 16GB Ram, GPU). However, it spend long time (0.5 day to 1 day) to running each epoch. If anyone meet the issue, could you give me the solution to solve that issue? Thank all
The text was updated successfully, but these errors were encountered: