-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run project #4
Comments
What is your Python version? |
I meet the same problem, python2, python3 both not work |
Hi, |
I have solved the problem imported by pycharm, maybe some dependencies not install |
Same here, but I have all dependencies installed as per the requirements.txt |
Ok, so to anyone having this problem, make sure to specify your mic using To find the ID of your input device, run (note, run sudo pip install sounddevice first):
where you can look through all sound devices attached to your computer. Edit: |
This removed the initial problem I had, and it actually runs perfectly on my laptop running Linux Mint, but when I try to port the code to a Raspberry Pi 3 (which has all packages correctly installed with reference to the requirements.txt), I'm always given the -9981 Buffer Overffow error. Is it impossible to run such an application on the limited hardware of the Raspberry PI? By the way thank you very much for publishing a really cool use of Tensorflow for audio analysis. |
For both variants (from wav and mic recording) that I try - same error:
Traceback (most recent call last): File "parse_file.py", line 39, in <module> process_file(**vars(args)) File "parse_file.py", line 31, in process_file with WavProcessor() as proc: File "/mnt/Data/project/devicehive-audio-analysis/audio/processor.py", line 45, in __init__ self._init_youtube() File "/mnt/Data/project/devicehive-audio-analysis/audio/processor.py", line 74, in _init_youtube youtube8m.model.load_model(sess, params.YOUTUBE_CHECKPOINT_FILE) File "/mnt/Data/project/devicehive-audio-analysis/audio/utils/youtube8m/model.py", line 43, in load_model set_up_init_ops(tf.get_collection_ref(tf.GraphKeys.LOCAL_VARIABLES)) File "/mnt/Data/project/devicehive-audio-analysis/audio/utils/youtube8m/model.py", line 26, in set_up_init_ops if "train_input" in variable.name: AttributeError: 'str' object has no attribute 'name'
Model was downloaded from your link.
The text was updated successfully, but these errors were encountered: