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

Cannot find load function for operator:StridedSlice #144

Open
VXallset opened this issue May 20, 2019 · 4 comments
Open

Cannot find load function for operator:StridedSlice #144

VXallset opened this issue May 20, 2019 · 4 comments

Comments

@VXallset
Copy link

Hello, I converted my Tensorflow model to a .pb file and want to use it on Firefly RK3399. However, Tengine loaded model failed and indicated " Cannot find load function for operator: StridedSlice". So do I have to implement the StridedSlice myself, or if there are other solutions?

@cyberfire
Copy link

@VXallset
We just pushed the code to support stride slice. please have a try.

Thanks,

Haitao

@VXallset
Copy link
Author

@cyberfire
Hi Haitao,

It seems not working. When doing TF_Session* session = LoadGraph(model_file.c_str(), graph);, I got the following information:

type is not same-----------------------
terminate called after throwing an instance of 'TEngine::bad_any_cast'
what(): Bad any cast: Expected: TEngine::StridedSliceParam Real: void

and the code aborted. If necessary, I can send you a copy of my .pb file and .prototxt file via email.

Cheers,

Yu

@ZPL95
Copy link

ZPL95 commented May 26, 2019

@VXallset
Hi,Yu:

Please send me your model files for further support.

BR,
ZPLuo

@chenti2x
Copy link

I meet the same problem too,Is this problem solved?

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

4 participants