OpenCV error when training

I just tried training after adding a few frames on a project created with DLC 2.1.6 and got an error related to OpenCV after 50k or so.
OS: Windows 10
Version: 2.2b8

Here’s the error:

I just upgraded from 2.1.8 and the last time I trained was a couple of months ago.