Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The evaluation is blocked when passing the CRT module #37

Open
rose-jinyang opened this issue Jul 5, 2022 · 1 comment
Open

The evaluation is blocked when passing the CRT module #37

rose-jinyang opened this issue Jul 5, 2022 · 1 comment

Comments

@rose-jinyang
Copy link

rose-jinyang commented Jul 5, 2022

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?

@Supgb
Copy link

Supgb commented Jul 14, 2022

#16 (comment)
It should help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants