sander-wood commited on
Commit
4842304
1 Parent(s): af9bb16

Update code/README.md

Browse files
Files changed (1) hide show
  1. code/README.md +4 -0
code/README.md CHANGED
@@ -13,7 +13,9 @@ This script contains the training hyperparameters and file paths used in the `tr
13
  This script utilizes the pre-trained CLaMP 2 model to extract representations of text (.txt) or music (.abc or .mtf) from a specified input folder and save the features to a target output folder in `.npy` format. The extracted features can be normalized for semantic search or retain temporal information for classification tasks.
14
 
15
  **Usage:**
 
16
  It supports multi-GPU processing with `accelerate launch` for efficient extraction across multiple GPUs.
 
17
  ```bash
18
  accelerate launch extract_clamp2.py <input_dir> <output_dir> [--normalize]
19
  ```
@@ -25,7 +27,9 @@ accelerate launch extract_clamp2.py <input_dir> <output_dir> [--normalize]
25
  This script employs the pre-trained M3 model to extract representations in interleaved ABC notation and MIDI Text Format (MTF) from the specified input folder, saving the features to the target folder as `.npy` files.
26
 
27
  **Usage:**
 
28
  It supports multi-GPU processing with `accelerate launch` for efficient extraction across multiple GPUs.
 
29
  ```bash
30
  accelerate launch extract_m3.py <input_dir> <output_dir>
31
  ```
 
13
  This script utilizes the pre-trained CLaMP 2 model to extract representations of text (.txt) or music (.abc or .mtf) from a specified input folder and save the features to a target output folder in `.npy` format. The extracted features can be normalized for semantic search or retain temporal information for classification tasks.
14
 
15
  **Usage:**
16
+
17
  It supports multi-GPU processing with `accelerate launch` for efficient extraction across multiple GPUs.
18
+
19
  ```bash
20
  accelerate launch extract_clamp2.py <input_dir> <output_dir> [--normalize]
21
  ```
 
27
  This script employs the pre-trained M3 model to extract representations in interleaved ABC notation and MIDI Text Format (MTF) from the specified input folder, saving the features to the target folder as `.npy` files.
28
 
29
  **Usage:**
30
+
31
  It supports multi-GPU processing with `accelerate launch` for efficient extraction across multiple GPUs.
32
+
33
  ```bash
34
  accelerate launch extract_m3.py <input_dir> <output_dir>
35
  ```