torch.jit.frontend.UnsupportedNodeError: ListComp aren't supported

I have just try to change ssd model from python to c++, but I got this error, and I’m using libtorch 1.0 stable. Could anyone give some suggestion to solve this problem.

Hello,i have the same problem with you today,were you solve this problem?would you like to share the methods with us?

ofcourse not,maybe we should wait for more time


------------------ Original ------------------

I think it’s because C++ doesn’t have a near identical version of a ListComp.
I have this problem with a Dict and will let you know when I found a solution!