shanice-l / gdrnpp_bop2022

PyTorch Implementation of GDRNPP, winner (most of the awards) of the BOP Challenge 2022 at ECCV'22
Apache License 2.0
226 stars 49 forks source link

Evaluation failed, folder for vsd evaluation in output seems to be missing after training #67

Closed beastGrendel closed 1 year ago

beastGrendel commented 1 year ago

Good day,

when finishing the training of GDRNPP I am encountering an error with the egl-renderer. It throws the info, that a .txt flies does not exist (gdrnpp_bop2022/lib/egl_renderer/robotPose/panda_arm_models/models.txt), followed by an info, that the pose error could not be determined. Then, it goes through two tests (both called "ape-iter0_lmo-test"), one per objects "mspd_5:50" and "mssd_0.050:0.500" , which is followed by another runtime error specifying the output folder "RuntimeError: output/gdrn/lmoPbrSO/convnext_AugCosyAAEGray_DMask_amodalClipBoxlmo/ape/inference/lmo_bop_test/ape-iter0_lmo-test/error:vsd_ntop:1_delta:15.000_tau:0.050 does not exist."

I do not know, how to handle this error, any tips? Am I missing something from the bop_toolkit perhaps? (trying "cpp" as render option in the lmo config file produces a similar issue, where the module bop_renderer was not found)

Kind regards,

shanice-l commented 1 year ago

Check if bop_renderer is rightly compiled.

beastGrendel commented 1 year ago

Thanks for the swift reply. I reinstalled the bop_toolkit and compiled the bop_renderer, too. And, this seems to have fixed the renderer issue.

The other issue prevails, though. It has something to do with the "vsd" evaluation metric, since the corresponding folder (as detailed in my original post) is not existent in the output folder after training. I did not change anything else in the main training script, except reducing the number of folders processed in the dataset as well as the batch size and epochs, since I wanted to test the pipeline for errors, first.

Edit: Upon more testing, it is back. I probably botched the links within the BOP_toolkit or something alike. I will reinstall my environment.

beastGrendel commented 1 year ago

I was able to find the issue, I linked the bop_renderer in a different file than in lib/physixd/config.py