STEGO icon indicating copy to clipboard operation
STEGO copied to clipboard

The evaluation is blocked when passing the CRT module

Open rose-jinyang opened this issue 2 years ago • 1 comments

Hello How are you? Thanks for contributing to this project. I am going to run the evaluation script with the pre-trained model. However, when passing the CRT module, the evaluation process is blocked. So I debugged it and found likely problem. In your UnNormalize class implementation, the part cloning an image tensor is blocked.

image

The problem is that this part should run in a child thread. it seems that the CRT module should run in a main thread. I tried to fix this issue but did NOT succeed yet. Any solution?

rose-jinyang avatar Jul 05 '22 13:07 rose-jinyang

https://github.com/mhamilton723/STEGO/issues/16#issuecomment-1168772107 It should help.

Supgb avatar Jul 14 '22 14:07 Supgb