Skip to content

Commit

Permalink
Fix M5 proofpoint
Browse files Browse the repository at this point in the history
Fix the issue where the pretrained_models and datasets directory
was not being copied with pip install not using -e.
  • Loading branch information
ataheridezfouli-groq committed Mar 5, 2024
1 parent 8082a8c commit 8613457
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions demo_helpers/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include demo_helpers/datasets/README.md
include demo_helpers/pretrained_models/m5.pt
include demo_helpers/pretrained_models/pointnet.pth
1 change: 1 addition & 0 deletions demo_helpers/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
packages=find_packages(
exclude=["*.__pycache__.*"],
),
include_package_data=True,
install_requires=[
"charset-normalizer==3.3.2",
"transformers>=4.20.0",
Expand Down
13 changes: 13 additions & 0 deletions proof_points/speech/m5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ M5's Keyword Spotting accuracy is evaluated using the [SpeechCommands dataset](h
pip install -r requirements.txt
```

- Since this proofpoint uses audio files, often the audio libraries must be installed on system.
- For Ubuntu OS:

```bash
sudo apt install libsox-dev
```

- For Rocky OS:

```bash
sudo dnf install sox-devel
```

## Build and Evaluate

To build and evaluate M5:
Expand Down

0 comments on commit 8613457

Please sign in to comment.