<p dir="auto">hey,everyone!<br>
At first,i can run the demo in /ios_examples/camera successfully.then I use retrain.py to retrain with my own dataset,and get a output_graph.pb flie and a output_labels.txt file.after that, I replace the files in  /ios_examples/camera/data with them,and run the demo again,but it failed ,error description  are as follow:<br>
####error#########<br>
:Could not create TensorFlow Graph: Invalid argument: No OpKernel was registered to support Op 'DecodeJpeg' with these attrs.  Registered devices: [CPU], Registered kernels:<br>
</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" [[Node: DecodeJpeg = DecodeJpeg[acceptable_fraction=1, channels=3, dct_method=&quot;&quot;, fancy_upscaling=true, ratio=1, try_recover_truncated=false](DecodeJpeg/contents)]];"><pre class="notranslate"><code class="notranslate"> [[Node: DecodeJpeg = DecodeJpeg[acceptable_fraction=1, channels=3, dct_method="", fancy_upscaling=true, ratio=1, try_recover_truncated=false](DecodeJpeg/contents)]];
</code></pre></div>
<p dir="auto">:Couldn't load model: Invalid argument: No OpKernel was registered to support Op 'DecodeJpeg' with these attrs.  Registered devices: [CPU], Registered kernels:<br>
</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" [[Node: DecodeJpeg = DecodeJpeg[acceptable_fraction=1, channels=3, dct_method=&quot;&quot;, fancy_upscaling=true, ratio=1, try_recover_truncated=false](DecodeJpeg/contents)]]"><pre class="notranslate"><code class="notranslate"> [[Node: DecodeJpeg = DecodeJpeg[acceptable_fraction=1, channels=3, dct_method="", fancy_upscaling=true, ratio=1, try_recover_truncated=false](DecodeJpeg/contents)]]
</code></pre></div>
<p dir="auto">Can someone tell me how to fix it?</p>
<h3 dir="auto">Environment info</h3>
<p dir="auto">Operating System: iOS</p>
<h3 dir="auto">Steps to reproduce</h3>
<ol dir="auto">
<li>Follow the contrib/makefile/README to install the tensorflow iOS core lib</li>
<li>Create my own model with the Image Retraining tutorial</li>
<li>Run the iOS example, error is logged.</li>
</ol>
<h3 dir="auto">Logs or other output that would be helpful</h3>
<p dir="auto"><code class="notranslate">Running model failed:Invalid argument: No OpKernel was registered to support Op 'DecodeJpeg' with these attrs [[Node: DecodeJpeg = DecodeJpeg[acceptable_fraction=1, channels=3, fancy_upscaling=true, ratio=1, try_recover_truncated=false](DecodeJpeg/contents)]]</code></p>
<h3 dir="auto">Related to</h3>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="159384272" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/2754" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/2754/hovercard" href="https://github.com/tensorflow/tensorflow/issues/2754">#2754</a> except that I want to use the pd file generated from the Image Retraining tutorial</p>