src.tests.vl3dpp_dl_post_proc_test
Classes
- class src.tests.vl3dpp_dl_post_proc_test.VL3DPPDLPostProcTest
- Author:
Alberto M. Esmoris Pena
Deep learning post processor test that checks the C++ implementation of the post processors for deep learning models.
- __init__()
Basic configuration for any VL3D test.
- Parameters:
name (str) – Test name
- run()
Run C++ deep learning post-processors test.
- Returns:
True if the C++ post-processors work as expected for the test cases, False otherwise.
- Return type:
bool
- testDLPostProc(dlpost, dlpostpp, inputs, reducer=None)
Check that the C++ deep learning post-processor works as the python reference post-processor.
- Parameters:
dlpost – The object representing the Python-side post-processor.
dlpostpp – The object representing the C++-side post-processor that corresponds with the Python-side post-processor (dlpost).
inputs (dict) – The inputs for the post-processor.
reducer (
PredictionReducer) – The prediction reducer for the post-processor, if any.
- Returns:
True if the C++ post-processor matches the results of the Python post-processor, False otherwise.
- Return type:
bool