Deepstream Transfer Learning App - Black images when running on second GPU

OK, after a bit of digging I found this: Deeepstream-test5 error when save image - #33 by hung

If I run my app with the CUDA_VISIBLE_DEVICES=1, e.g:

CUDA_VISIBLE_DEVICES=1 deepstream-transfer-learning-app -c ds_transfer_learning_app_example.txt

Then it works. Note that you must still use gpu-id=0 in your configuration files.

Note that there is a typo in the linked thread, e.g.

CUDA_VISIBLE_DEVICES=1  # Correct
CUDA_VISIABLE_DEVICES=1 # Wrong! Typo

It would still be good to have the bug confirmed and fixed however.