Tensorflow Simple Audio Recognition Error on Freeze.py - python

I've been following the tutorials on how to make a Simple Audio Recognition.
First I encountered an error when I entered
python tensorflow/examples/speech_commands/freeze.py
saying
python: can't open file 'tensorflow/examples/speech_commands/freeze.py': [Errno 2] No such file or directory
So I just went to the directory of tensorflow then drag the file in cmd... but then I encountered another error saying:
"tensorflow.python.framework.errors_impl.UnknownError: FindFirstFile failed for: ./config/systemprofile/AppData/Local/Microsoft/Windows/INetCache/Content.IE5 : Access is denied.
; Input/output error"
I'm running it as administrator as you can see here. How can I fix this?

Its working, all i had to do was to run the command line in the TensorFlow source like this

Related

Python raspberry pi Ubuntu System FileNotFound Error on terminal but it works on Code-server with another Path

Somethimes it works and somethimes it does not work. I want to run my script from terminal but i always get FileNotFound Error. I only use Absolute Path. FileNotFoundError: [Errno 2] No such file or directory: '/umbrel/umbrel/app-data/code-server/data/resourcen/duplicates.xlsx' This path also works not on Code Server. But this works on code-server envirement with this but not on command line path = r"/home/coder/DaxBull/". But i need to run it on terminal because i want to run a cronjob. You can ask If you have any questions. I would be verry greatfull if somebody could help i try to fix it sice 2 days. Thank you

About problems of the process of Pyinstaller packing program: subprocess can't find

The IDE is Pycharm 2022.2.2 with Python 3.9, When I want to click my .exe file after using Pyinstaller packing my program, I got the below exception saying "FileNotFoundError: [WinError 2] The system cannot find the file specified".
I'm new to python (and Pycharm), so not sure what file was missing as the exception message didn't include a filename. Any hint will be highly appreciated.
enter image description here

Can't open Jupyter Notebook files - Unhandled error

I've been having an issue with Jupyter Notebook where I keep getting error
File Load Error for FILENAME.ipynb
Unhandled error
I've looked through many posts including this one that says you can remove the checkpoint folder. I've done that but for some reason it feels like it's ignoring my command
c.FileCheckpoints.checkpoint_dir = ''
The issue seems to be happening with notebooks I've cloned from our Git repo.
When I look at the Jupyter Server output I can see that it's trying to locate the checkpoint file for the file I'm trying to open and it can't find it.
FileNotFoundError: [Errno 2] No such file or directory: '\\\\\\some_folder\\some_folder\\some_folder\\some_folder\\some_folder\\some_folder\\some_folder\\test checkpoints\\some_folder\\.ipynb_checkpoints\\0.Clf_Variable_sig_categorical-checkpoint.ipynb'
I don't understand why it's looking for a checkpoint file? How can I get it to not look for this file and just open the file that I'm trying to open?
This error does not happen to all files that I cloned. Some open others don't, and I can't figure out why it would do that?
Also, if I open the same folder with VS Code, then it opens all the files without any issues.
Any help would be greatly appreciated, I've been going at this for days now and can't figure it out.

Pygame Mixer "Fatal Python error: (pygame parachute) Segmentation Fault" Error [duplicate]

I have written a small program in WindowsXP-python-pygame. It runs fine when I run it in the dos.
Then, I tried to create a windows executable using py2exe. .exe was created without any issue. Initially on running the executable, I got a NotImplemented error which went away after I copied some dll files from pygame folder to the dist folder.
Now I am getting a new error. It reads:
"Fatal Python error: (pygame parachute) Segmentation Fault
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information."
I have already looked at the following pages:
[1] http://pygame.org/wiki/Pygame2exe
[2] http://thadeusb.com/weblog/2009/4/15/pygame_font_and_py2exe
[3] http://www.google.com
These do not seem to be of help. I mean I am getting the error in spite of using all the instructions there. Any idea?
I got it working. Edited the line extra_data in the following place:
pygame.org/wiki/Pygame2exe
to:
self.extra_datas = ["freesansbold.ttf",
"SDL.dll",
"SDL_ttf.dll",
"libfreetype-6.dll",
"zlib1.dll"]
This works!

Errno 2 No such file or directory: 'ffprobe': 'ffprobe'

I have to develop an Alexa Skill that use Pydub for edit mp3 file.
Pydub requires ffmpeg and so I have add it in requirements.txt but now, when I try to run my skill, it give me "Sorry, I had trouble doing what you asked. Please try again.".
In CloudWatch the error is: [Errno 2] No such file or directory: 'ffprobe': 'ffprobe' but in requirements.txt there is the ffprobe import.
NB: In local the code runs successfully without any errors
Screenshot:
Error in CloudWatch
I had once a problem with ffprobe (No such file or directory), but when recording an animation using matplotlib. I solved it just by installing ffprobe and adding it to "path" in environment variables (on Windows). Maybe it could work for you.

Categories