Caffe FCN Test | Check Failed:error = = cudasuccess (2 vs. 0) out of memory

Source: Internet
Author: User

When using Caffe run FCN test, the following error is prompted:
Check Failed:error = = cudasuccess (2 vs. 0) out of memory
is the memory overflow, and is the Cuda, then the GPU cache overflow.
In this case, the first thing to see is the training and testing of the batch_size, and the training process is no problem, indicating that the training batch_size no problem;
This problem with the test process, see the FCN of the source code in the section on testing:

Here's reshape (1,*), 1 of which means batch_size, so there is no way to adjust.
So also suspected is not the use of the original image is too large, occupy more space, and the revision still reported this error, so can only first not test, direct training.
I would like to discuss it with a small partner with the same problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.