title: python UnicodeEncodeError:"utf-8" codec can't decode character "\udea8"
body: <p>I got this error when I ran the notebook on jupyter.</p>
  <p><a href="https://i.stack.imgur.com/UIHy9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UIHy9.png" alt="enter image description here" /></a></p>
  <pre><code>log_dir = &quot;inception_log&quot;
  if not os.path.exists(log_dir):
      os.makedirs(log_dir)
  
  #classify_image_graph_def.pd是google訓練好的模型
  inception_graph_def_file = os.path.join(&quot;inception_model&quot;,&quot;classify_image_graph_def.pd&quot;)
  with tf.Session() as sess:
      #建一張圖存放google訓練好的模型
      with tf.gfile.FastGFile(inception_graph_def_file,'rb') as f:
          graph_def = tf.GraphDef()
          graph_def.ParseFromString(f.read())
          tf.import_graph_def(graph_def,name = &quot;&quot;)
      #保存圖的結構
      print(&quot;start&quot;)
      writer = tf.summary.FileWriter(&quot;inception_log&quot;,sess.graph)
      writer.close()
      print(&quot;end&quot;)
  </code></pre>
  <p>I'm not sure is this error cause I couldn't write a file in my folder.
  I tried to google this error but didn't find the way to solve this error.
  Thanks.</p>