Skip to content

Commit

Permalink
【OSCP】[PyTorch]在 SecretFlow 中实现水平联邦 Audio classification example (sec…
Browse files Browse the repository at this point in the history
…retflow#953)

* docs: add audio classfication example based PyTorch in FL

* refactor: black notebook

* docs:add document in the example of pytorch_audio_classification.ipynb

* refactor: black notebook

* docs: modify tutorial

* docs: add example of audio classification based PyTorch in FL
  • Loading branch information
Mingbo-Lee authored Oct 27, 2023
1 parent c47bb38 commit 1a295f4
Show file tree
Hide file tree
Showing 4 changed files with 2,968 additions and 0 deletions.
2,308 changes: 2,308 additions & 0 deletions docs/tutorial/pytorch_audio_classification.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/app/h_audio/h_pytorch_classification/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
example of horizontal federated learning for audio classification task implemented by PyTorch.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# PyTorch audio classification task

## Introduction

This example demonstrates how to use SecretFlow to train a CNN model to classify audio based PyTorch.;

## Run
```
python pytorch_audio_classification.py
```

## References
- [pytorch_audio_classification](https://learn.microsoft.com/zh-cn/training/modules/intro-audio-classification-pytorch/)
Loading

0 comments on commit 1a295f4

Please sign in to comment.