-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Freezing Graph Issue #286
Comments
output_node_names must be "output". but can you detect object with your .pb file? |
I changed
If I run flow with my PB and metafile it works as expected:
|
I think |
You're completely right, I was following a few different tutorials and most of them had you freeze the graph with the Bazel tools. I see now that output graph is also freezing it.. I ran the graph through the
|
I am sorry with this issue, it seems this operator was not recognized by tf. but i haver never met it befor. |
Testing it now with this solution: tensorflow/tensorflow#8502 (comment) |
To resolve this you have to remove the cococpod for tensorflow and provide your own compiled tensorflow. This also requires you to add Configure your xcode project following these steps: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/ios#creating-your-own-app-from-your-source-libraries |
@brianantonelli so you're able to use the pb generated from If I use the non-optimized Any ideas or could you please share your iOS code and your |
Here's what I did.. First I generated the PB on my EC2 P2 instance:
Then I configured Tensorflow to support
|
Thanks @brianantonelli for your reply. Two follow up questions please: where did you get |
I'm training my own dataset so thats my customized config. My TF gitsha: |
Thanks, @brianantonelli. I made some progress - am able to run I'm training a test dataset to see if it'll make the difference. If it's not too much trouble, could you please try the |
@jeffxtang I'll try and get that for you either this weekend or Monday. |
Thanks @brianantonelli. Just some new progress: I found my iOS code was
After I changed it to:
I'm able to run the |
Can @brianantonelli or anyone please share how to parse (post process) the |
I figured this out and just shared a new repo: https://github.com/jeffxtang/yolov2_tf_ios |
@brianantonelli did you resolve this problem? it seems like you freezed .pb to implement in this repo (https://github.com/KleinYuan/tensorflow-yolo-ios). i always get this error: (Input checkpoint '' doesn't exist!) when i try to freeze .pb by using kind of: |
@brianantonelli Hi, I am facing similar issues with freezing my network. Would highly appreciate if you could take a look at my issue #903 Thanks |
hi, i did freeze graph successfully. this is what i did, hope it help you |
Has anyone had issues freezing the exported protobuf file for Tensorflow mobile? To save my latest checkpoint (YoloV2 VOC) to pb I'm running:
I've verified this graph/metafile are valid by running predictions (with valid results) with the following code:
I'm now trying to import my graph into Tensorflow for iOS following instructions from Tensorflow.. When I try to freeze the graph (referencing the protobuf file and last checkpoint) running the following command I get an exception. I got the
output_node_names
from here.. I have tried a variety of other node names (softmax
, etc) with no success..Freeze Graph Command:
Freeze Graph Result:
The text was updated successfully, but these errors were encountered: