I want to use this:

  
      

      github.com
  

  
    examples/tensorflow_examples/lite/model_maker at master · tensorflow/examples 7

  master/tensorflow_examples/lite/model_maker

  TensorFlow examples. Contribute to tensorflow/examples development by creating an account on GitHub.

  

  
    
    
  

  


with this:

  
      

      Apple Developer
  

  
    

Tensorflow Plugin - Metal - Apple Developer 5

  Find presentations, documentation, sample code, and resources for building macOS, iOS, and tvOS apps with the Metal framework.


  

  
    
    
  

  


Is this possible? I want the brevity/ease of use of tflite-model-maker with the acceleration capabilities of my M1 MacBook Air running macOS 12.0.
I successfully completed the step to install tensorflow-macos, which to my understanding is just a special version of tensorflow 2.5 to take advantage of the M1 hardware acceleration.
Now, when I try to follow the tflite-model-maker example this happens:

Screen Shot 2021-08-25 at 9.47.25 PM2878×810 353 KB

I expected an error because in the requirements.txt, tensorflow==2.6.0 is specified (not tensorflow-macos==2.5.0).
Could I just edit that requirements file to specify tensorflow-macos=2.5.0 instead of tensorflow==2.6.0? Or is there an older version of tflite-model-maker that will work with tensorflow-macos==2.5.0?
I assume this is what is also causing the tflite-support dependency problem.