| Both sides previous revision Previous revision | |
| dcc:itsol:whisper:setup [2025/10/17 08:56] – changed title giulio | dcc:itsol:whisper:setup [2025/10/20 13:16] (current) – Updated explanation on what folders to create giulio |
|---|
| {{ :dcc:itsol:whisper:hb_portal_1.png?direct&900 | }} | {{ :dcc:itsol:whisper:hb_portal_1.png?direct&900 | }} |
| |
| Once you have an HPC account, you can navigate to the ''Files'' tab in the top menu bar and select ''Home Directory''. | Once you have an HPC account, you can navigate to the ''Files'' tab in the top menu bar and select ''/scratch/p-number''. Before we can run the script for the transcription, we need to make sure that folders are set up correctly in your HPC environment. |
| |
| {{ :dcc:itsol:whisper:hb_portal_2.png?direct&900 | }} | {{ :dcc:itsol:whisper:hb_portal_2a.png?direct&900 | }} |
| |
| In this window, you will be able to manage your files and folders in HPC. After you finish the Whisper installation, you can upload your audio files from here. You can also download the transcripts from this page, as well as remove any old audio files that have already been transcribed. To begin with, make sure that you are in the Home directory, then open the **terminal** as shown below. | In this window, you will be able to manage your files and folders in HPC. To begin with, make sure that you are in the folder with your p-number in the ''/scratch/'' partition of Hábrók. In the next steps, you will need to create a main folder for Whisper, then two subfolders for the input and output data. To create the main folder, click on ''New Directory'' as shown below. Please make sure that you write "whisper" in lower case. When the folder appears in your window, click on its name to open the next window. |
| |
| {{ :dcc:itsol:whisper:insta_portal.png?direct&900 | }} | {{ :dcc:itsol:whisper:hb_portal_3.png?direct&900 | }} |
| |
| The next steps explain how to create the Whisper environment you will be working in: | Once inside the Whisper main folder, you need to create two subfolders. Once again, use ''New Directory'' to create each new folder. Call them "input" and "output", respectively, taking care to use lower case letters. Do not worry if your do not see any ''.sh'' file or ''slurm'' file in your file view. They will come later. |
| |
| * Create a folder “whisper_audio” in the root folder of your HPC session by inputting the following command: | {{ :dcc:itsol:whisper:hb_portal_4.png?direct&900 | }} |
| * <code> mkdir $HOME/whisper_audio </code> {{ :dcc:itsol:whisper:insta_1a.png?direct&600 | }} | |
| * In the same way, you should also create an output folder in the same place by inputting: | |
| * <code> mkdir $HOME/whisper_output </code> | |
| * If this step of the installation succeeded, then you should be able to display the new folders in MobaXterm as shown in the figures below. {{ :dcc:itsol:whisper:insta_2a.png?direct&600 | }} | |
| * You can also use the HPC portal and its folder navigation window to check if the new folders are there. | |
| |
| ==== Building the virtual environment and installing Whisper ==== | ==== Building the virtual environment and installing Whisper ==== |