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

(Wang Zipeng) #1

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.

(yesheng) #2

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

(Wang Zipeng) #3

ofcourse not,maybe we should wait for more time


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

(Alexander Klus) #4

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!