Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
AutoKara
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Wiki externe
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de conteneur
Registre de modèles
Opération
Environnements
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse CI/CD
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
bakaclub
AutoKara
Validations
f231c971
Valider
f231c971
rédigé
1 year ago
par
Sting
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Update README & requirements
parent
60a649a9
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion
!2
CNN + Spectral segmentation
Modifications
2
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
2 fichiers modifiés
README.md
+6
-26
6 ajouts, 26 suppressions
README.md
requirements.txt
+5
-1
5 ajouts, 1 suppression
requirements.txt
avec
11 ajouts
et
27 suppressions
README.md
+
6
−
26
Voir le fichier @
f231c971
...
...
@@ -28,6 +28,7 @@ An introduction to neural networks and deep learning:
### Machine Learning & Deep Learning methods
[
Using CNNs on spectrogram images
](
https://www.ofai.at/~jan.schlueter/pubs/2014_icassp.pdf
)
(
Schlüter,
Böck, 2014) :
-
[
MADMOM implementation
](
https://madmom.readthedocs.io/en/v0.16/modules/features/onsets.html
)
-
Python implementation for Taiko rythm games : https://github.com/seiichiinoue/odcnn
### Other methods
...
...
@@ -45,7 +46,9 @@ If we ever want to use an AI to identify syllables without a reference lyrics fi
-
MKVToolnix (at least the CLI utils)
-
Python >= 3.8
-
PyTorch : follow the instructions
[
here
](
https://pytorch.org/get-started/locally/
)
Optional :
-
PyTorch for custom model training : follow the instructions
[
here
](
https://pytorch.org/get-started/locally/
)
All other python modules can be installed directly through pip, see further.
...
...
@@ -62,35 +65,12 @@ $ pip install -r requirements.txt
$
deactivate
```
Having a CUDA-capable GPU is optional, but can greatly reduce processing time.
Having a CUDA-capable GPU is optional, but can greatly reduce processing time
in some situations
.
# Use
## Training
To extract vocals and ASS from MKV video files:
```
bash
$
./process_train_data video_folder train_folder
```
To prepare the training data for the model :
```
bash
$
python cnn_prepare_data.py train train_folder
```
Prepared data will be stored in
`./data/pickles/train_data.pickle`
To train the model on the prepared data :
```
bash
$
python cnn_train.py
```
The model will be written to
`./models/model.pth`
## Infer
## Inference
To execute AutoKara on a MKV video file :
```
bash
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
requirements.txt
+
5
−
1
Voir le fichier @
f231c971
...
...
@@ -5,4 +5,8 @@ soundfile
sklearn
matplotlib
numpy
tqdm
\ No newline at end of file
tqdm
scipy
cython
mido
git+https://github.com/CPJKU/madmom.git
\ No newline at end of file
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter