Check a little bit the specifications of the Yamnet model to see if there is an alternative for inputs:
  
      

      github.com
  

  
    

models/research/audioset/yamnet at d9541052aaf6fdc015c8150cf6576a2da68771f7 ·... - Input: Audio Features 8

  d9541052aaf6fdc015c8150cf6576a2da68771f7/research/audioset/yamnet

  Models and examples built with TensorFlow. Contribute to tensorflow/models development by creating an account on GitHub.

  

  
    
    
  

  


If there is no alternative you have to convert your wav files to the correct format.
Best