cppflow icon indicating copy to clipboard operation
cppflow copied to clipboard

cppflow model loading hangs unity

Open assistivai opened this issue 3 years ago • 1 comments

I'm trying to load a tensorflow graph model using cppflow in c++. I am able to load the model when I define the model loading globally in a standalone applicaiton:

    cppflow::model model(std::string(model_path));
    int main() {
       ...
    }

But, when I build this to create the dll and call that dll from unity (c#), the whole unity application hangs. Is there another way to do so or am I doing something wrong?

assistivai avatar May 07 '22 08:05 assistivai

@assistivai

Can you check if the last changes fixed your error?

serizba avatar May 26 '22 07:05 serizba