Recently, I have been using the function Haartraining provided by Opencv to train the classifier. The previous picture used was 20*20, which could train the classifier. Later, when it was changed to 80*86, the error was reported, which was due to insufficient memory. Here is a screenshot of the error report:
So, I looked it up on the Internet and found a solution: change the debugging platform from 32 to 64, because there seems to be a problem with 32 bits, no matter how big your actual memory is, it only works around 2 or 3 gs. Another solution is to make your training pictures smaller.
So, I looked it up on the Internet and found a solution: change the debugging platform from 32 to 64, because there seems to be a problem with 32 bits, no matter how big your actual memory is, it only works around 2 or 3 gs. Another solution is to make your training pictures smaller.
Read More:
- Solution of insufficient memory space or desktop stack in GX works2
- Error when idea starts: Java: outofmemoryerror: insufficient memory
- Error 945 Database cannot be opened due to inaccessible files or insufficient memory or disk space
- Opencv problem: opencv error: assertion failed (! Empty()) in detectmultiscale
- Opencv perfect configuration strategy 2015 (win7 + opencv 2.4.9 + vs 2013)
- Kvm internal error: process exited :cannot set up guest memory ‘pc.ram‘:Cannot allocate memory
- os::commit_memory(0x0000000538000000, 11408506880, 0) failed; error=‘Cannot allocate memory‘
- Hbase Native memory allocation (mmap) failed to map xxx bytes for committing reserved memory
- Project files may be invalid appears when cmake compiles opencv3.1, and the debug additional dependency of the compiled opencv3.1 is at the end
- The difference, cause and solution of memory overflow and memory leak
- [opencv + openvino] opencv-vino4.5.1 + opencv contrib installation
- Fatal error: Newspace:: rebalance allocation failed – process out of memory (memory overflow)
- WebHost failed to process a request.Memory gates checking failed because the free memory (140656640 …
- Causes and solutions of errors in “insufficient ram for flash algorithms”
- Kylin running program reported an error: insufficient permission
- Cannot read configuration file due to insufficient permissions
- Solve to the cache because there was insufficient free space available after evict
- -Bash: /usr/local/apache-maven-3.6.3/bin/mvn: insufficient permissions
- Tomcat Error: because there was insufficient free space available after evicting expired cache entries
- Mac USB error 3: Unable to claim interface: Access denied (insufficient permissions)