I am trying to use the Open AI whisper to translate something and I will use !whisper and then the files name then it gives me the error.
Related
I am trying to set my environment variable (on Mac) to request from Google Bigquery by using the following guideline:
Source: https://cloud.google.com/bigquery/docs/reference/libraries
I'm doing it to avoid having to type in export GOOGLE_APPLICATION_CREDENTIALS="/home/user/Downloads/service-account-file.json" into VS Code terminal, everytime I want to run something from Bigquery.
How I do it? (which doesn't work)
(I create both .bashrc and .profile file, because not sure which one do I need) Create both files and put it in:
Insert into both files the following:
export GOOGLE_APPLICATION_CREDENTIALS="/Users/GunardiLin/Credentials/service-account-file.json"
Put the google credentials to: /Users/GunardiLin/Credentials/service-account-file.json
(The credential file is 100 % correct, because I tested it by inserting the following manually export GOOGLE_APPLICATION_CREDENTIALS=/Users/GunardiLin/Credentials/service-account-file.json . Afterwards my program to request on Bigquery works fine. Doing it manually everytime I start the VS Code is not ideal for me.)
After Step 3, I get the following error:
Can somebody help me with this problem?
I am using MacOS, VS Code, Conda. Thank you in advance.
I added a .ipynb file in Asset Section of Projects of IBM Watson Studio, but when I try to open the file a pop up displays:
"Preview not available
This file type may not be supported."
I don't know how to fix this and I don't know how to proceed to submit my assignament for Coursera IBM Data Science course.
Please, help
The .ipynb file is for Jupyter notebook. Assuming you are trying to create new notebook to execute some code from that notebook file.
You need to use Add to Project -> Notebook option
Then use "from file" option to upload
For more information, refer to the documentation:- https://dataplatform.cloud.ibm.com/docs?context=cpdaas
Hello so I would like to begin with that I am not extremely tech savvy. I am trying to download a video so that I can reformat it. I keep on receiving and error that says "unable to extract video data 't' is not recognized as an internal or external command. I tried to update youtube-dl, but it said it couldn't find an new version. I'm not sure if the issue I am having is that I can't update youtube-dl or if there is an issue with me downloading the video itself.
Here is the script line that I used to download the video.
C:\Users\name> YouTube-dl.exe -f bestvideo+bestaudio https://www.youtube.com/watch?v=llRfY17n-Lo&t=321s
[youtube] llRfY17n-Lo: Downloading webpage
ERROR: llRfY17n-Lo: YouTube said: Unable to extract video data
't' is not recognized as an internal or external command,
operable program or batch file.
Here is the scripts I used to try and update Youtube dl.
C:\Users\name>youtube-dl.exe -U
ERROR: can't find the current version. Please try again later.
C:\Users\name>youtube-dl -U
ERROR: can't find the current version. Please try again later.
I had similar problems with the following errors:
'v' is not recognized as an internal or external command,
operable program or batch file.
and
'feature' is not recognized as an internal or external command,
operable program or batch file.
I fixed the error and was able to download the file by entering the following command in command line and pressing enter:
youtube-dl **video identifier**
where video identifier is the series of digits that comes after "v=".
For example, if your video URL is https://www.youtube.com/watch?v=dMH0bHeiRNg --> the identifier is dMH0bHeiRNg and the whole command is:
youtube-dl dMH0bHeiRNg
Actually I have found another solution to this:
in Windows, open the folder that you want to download the video in, say it is C:\Users\username
Then press CTRL+L and write cmd and press enter. Now the command line opens at the desired folder. (Make sure the folder is not under Windows or system32.)
Write youtube-dl youtube.com/your_url and press enter and it should download the video just fine.
DownloadError: ERROR: unable to download video data: HTTP Error 302: The HTTP server returned a redirect error that would lead to an infinite loop.
The last 30x error message was:
Found
Since yesterday I can't use my google drive files shared links with VideoColorizerColab.ipynb. I get this error above all the time I try to colorize my videos.
Does anyone know what's going on? Thank you, Géza.
You might want to try mounting your Google Drive to your colab and copying the video to the colab rather than using the link to download the video.
The code to mount your google drive to colab is
from google.colab import drive
drive.mount('/content/drive')
After this step, you can use all the content in your Drive as folders in your colab. You can see them in the Files section on the left side of your notebook. You can select a file, right-click and copy path and use the path to do any operation on the file.
This is an example of copying
!cp -r /content/gdrive/My\ Drive/headTrainingDatastructure/eval /content/models/research/object_detection/
I've trained a Tensorflow model on Google Colab, and saved that model in ".ckpt" format.
I want to download the model so I tried to do this:
from google.colab import files
files.download('/content/model.ckpt.index')
files.download('/content/model.ckpt.meta')
files.download('/content/model.ckpt.data-00000-of-00001')
I was able to get meta and index files. However, data file is giving me the following error:
"MessageError: Error: Failed to download: Service Worker Response
Error"
Could anybody tell me how should I solve this problem.
Google Colab doesn't allow downloading files of large sizes (not sure about the exact limit). Possible solutions could be to either split the file into smaller files or can use github to push your files and then download to your local machine.
I just tried with a 17 Mb graph file using the same command syntax with no error. Perhaps a transient problem on Google's servers?
For me it helped to rename the file before download.
I had a file named
26.9766_0.5779_150-Adam-mean_absolute_error#3#C-8-1-....-RL#training-set-6x6.04.hdf5
and renamed it to
model.hdf5
before download, then it worked. Maybe the '-' in the filename caused the error in my case.