Thank you Bhack!
I prepared GitHub repository
  
      

      GitHub
  

  
    

GitHub - YuNats/Heatmap:... 1

  https://discuss.tensorflow.org/t/how-to-fix-random-seed-in-gradient-tape/5599/9 - GitHub - YuNats/Heatmap: https://discuss.tensorflow.org/t/how-to-fix-random-seed-in-gradient-tape/5599/9


  

  
    
    
  

  


TransferLearning.ipynb = Make a model
Apply = Inference with new model
I couldn’t share Images because they are private.
It has 5 folders, which named class name. Like this:
Image
|-- Fruits
   |---apple_braeburn        
   |---apple_golden_delicious
   |---apple_topaz
   |---peach
   |---pear

All Image size is 400(W) x 300(H), format is “png”.