User Tools

Site Tools


projects:jetson:orin:whisper:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:jetson:orin:whisper:start [2023/03/13 21:23] – [Install PyTorch in the environment nlp] rolf.beckerprojects:jetson:orin:whisper:start [2023/03/14 20:27] (current) – [Test OpenAI Whisper] rolf.becker
Line 7: Line 7:
  
 ===== About Whisper ===== ===== About Whisper =====
 +
 +  * https://openai.com/research/whisper
   * https://github.com/openai/whisper   * https://github.com/openai/whisper
   * https://towardsdatascience.com/transcribe-audio-files-with-openais-whisper-e973ae348aa7   * https://towardsdatascience.com/transcribe-audio-files-with-openais-whisper-e973ae348aa7
Line 29: Line 31:
  
 This means basically a completely **new installation** / initial setup. This means basically a completely **new installation** / initial setup.
 +\\ Follow [[https://developer.nvidia.com/embedded/learn/get-started-jetson-agx-orin-devkit|Getting Started with Jetson AGX Orin Developer Kit]] to flash the Orin new.
 \\ Use the [[https://developer.nvidia.com/drive/sdk-manager|NVIDIA SDK Manager]] to setup the Orin via USB from scratch.  \\ Use the [[https://developer.nvidia.com/drive/sdk-manager|NVIDIA SDK Manager]] to setup the Orin via USB from scratch. 
 +
  
  
Line 54: Line 58:
  
 <code> <code>
-sudo apt-get -y update; +sudo apt-get -y update 
-sudo apt-get -y install autoconf bc build-essential g++-8 gcc-8 clang-8 lld-8 gettext- + 
-base gfortran-8 iputils-ping libbz2-dev libc++-dev libcgal-dev libffi-dev libfreetype6- +sudo apt-get -y install 
-dev libhdf5-dev libjpeg-dev liblzma-dev libncurses5-dev libncursesw5-dev libpng-dev +autoconf bc build-essential g++-8 gcc-8 clang-8 lld-8 gettext-base gfortran-8 
-libreadline-dev libssl-dev libsqlite3-dev libxml2-dev libxslt-dev locales moreutils +iputils-ping libbz2-dev libc++-dev libcgal-dev libffi-dev libfreetype6-dev libhdf5-dev 
-openssl python-openssl rsync scons python3-pip libopenblas-dev;+libjpeg-dev liblzma-dev libncurses5-dev libncursesw5-dev libpng-dev libreadline-dev libssl-dev 
 +libsqlite3-dev libxml2-dev libxslt-dev locales moreutils openssl python-openssl rsync scons 
 +python3-pip virtualenv libopenblas-dev
 </code> </code>
  
Line 85: Line 91:
 </code> </code>
  
 +=== Install Jupyterlab and Pandas ===
  
 <code> <code>
 pip install pandas matplotlib jupyterlab pip install pandas matplotlib jupyterlab
 +</code>
  
-pip install -U openai-whisper 
  
 +=== Install Whisper by OpenAI ===
 +<code>
 +pip install -U openai-whisper
 </code> </code>
  
  
 +=== In case you want to delete the installation: ===
  
 <code> <code>
 deactivate deactivate
- 
 rm -Rf nlp rm -Rf nlp
 +</code>
 +
 +==== Test OpenAI Whisper ====
 +
 +<code>
 +source nlp/bin/activate
 +
 +pip install ipywidgets 
 +
 +pip install torchaudio
 +
  
 </code> </code>
projects/jetson/orin/whisper/start.1678739006.txt.gz · Last modified: 2023/03/13 21:23 by rolf.becker