title: Use Azure custom-vision trained model with tensorflow.js
body: <p>I've trained a model with Azure Custom Vision and downloaded the TensorFlow files for Android 
  (see: <a href="https://docs.microsoft.com/en-au/azure/cognitive-services/custom-vision-service/export-your-model" rel="nofollow noreferrer">https://docs.microsoft.com/en-au/azure/cognitive-services/custom-vision-service/export-your-model</a>). How can I use this with <a href="https://js.tensorflow.org" rel="nofollow noreferrer">tensorflow.js</a>?</p>
  
  <p>I need a model (pb file) and weights (json file). However Azure gives me a .pb and a textfile with tags. </p>
  
  <p>From my research I also understand that there are also different pb files, but I can't find which type Azure Custom Vision exports. </p>
  
  <p>I found the <a href="https://github.com/tensorflow/tfjs-converter" rel="nofollow noreferrer">tfjs converter</a>. This is to convert a TensorFlow SavedModel (is the *.pb file from Azure a SavedModel?) or Keras model to a web-friendly format. However I need to fill in "output_node_names" (how do I get these?). I'm also not 100% sure if my pb file for Android is equal to a "tf_saved_model".</p>
  
  <p>I hope someone has a tip or a starting point.</p>