Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

During training OpenCV will create a params.xml file. I have had the issue where I change -h -w in my command but I didn't delete this params.xml file from my previous session. This caused an error similar to yours. Try checking if you have a params.xml file, and if so delete it and re-train. Mine gets generated in the top level folder where I am running the command.