Closed izlen closed 4 years ago
Just to be clear, you're seeing the error in the visualization notebook https://github.com/tensorflow/models/blob/master/research/audioset/yamnet/yamnet_visualization.ipynb but not in any other file, correct?
We are working on a major update to the notebook, but I can fix it to work with recent updates in the meantime.
Even i am facing the same issue. I am using Python 3.8 and Jupyter notebook to run the code. Error occurs in the line: yamnet = yamnet_model.yamnet_frames_model(params)
Prerequisites
Please answer the following questions for yourself before submitting an issue.
1. The entire URL of the file you are using
https://github.com/tensorflow/models/research/audioset/yamnet/
2. Describe the bug
I ran the code before with another computer. But with my new computer I haven't changed anything I used the YAMNET code as it is but I keep receiving the same error: AttributeError: module 'params' has no attribute 'patch_window_seconds'.
3. Steps to reproduce
I did exactly what the github page of Yamnet says. The test also worked.
4. Expected behavior
While loading the model in the visualization and inference codes, I get the Attribute error in params.
5. Additional context
Include any logs that would be helpful to diagnose the problem.
6. System information