For solving memory issue you can use this PR:https://github.com/opencv/opencv_contrib/pull/2620.
But I really do not know about post-training configure, sorry.
For solving memory issue you can use this PR:https://github.com/opencv/opencv_contrib/pull/2620.
PR But I really do not know about post-training configure, sorry.