initial commit
This commit is contained in:
commit
c7175dd7ff
127 files changed
+13949
No files matched your search
@@ -0,0 +1,58 @@
|
||||
# Audio2Expression
|
||||
|
||||
|
||||
### Setup
|
||||
- python 3
|
||||
- pytorch
|
||||
- opencv-python
|
||||
- libsora
|
||||
|
||||
|
||||
### Train
|
||||
```
|
||||
python train.py --opt experiments/train-atc-GRID-with-auto-regression-geo-weight.yaml
|
||||
```
|
||||
|
||||
- set model
|
||||
- MODEL.name = "audio2exp" # audio2exp_model.py
|
||||
- MODEL.name_netAE = "ATC_REC" # ATC network with autoregression
|
||||
- dim_input: 0 # 68*2
|
||||
- dim_output: 79 # 68*2
|
||||
- dim_latent: 32
|
||||
|
||||
- set pretrain
|
||||
- MODEL.pretrain = True
|
||||
- MODEL.path_pretrained: "/mnt/data/CODE/Audio2Expression/experiments/ATC/GRID/train-atc-GRID-with-auto-regression-geo-weight/20201211-16H02M39S"
|
||||
- MODEL.load_epoch = 3000
|
||||
|
||||
- set resume:
|
||||
- MODEL.resume = True
|
||||
- MODEL.epoch_begin = 0
|
||||
- MODEL.epoch_end = 10000
|
||||
|
||||
- set loss
|
||||
- lambda_rec: 10
|
||||
- lambda_geo: 1
|
||||
- lambda_smooth_rec: 0
|
||||
- lambda_smooth_geo: 0
|
||||
|
||||
|
||||
### Test
|
||||
```
|
||||
# processing data
|
||||
python scripts/Test/run-10-processing.py
|
||||
|
||||
# infer coeff
|
||||
python infer.py --opt experiments/infer-atc-GRID-with-auto-regression.yaml
|
||||
|
||||
# render and output video
|
||||
python scripts/frames-to-video.py
|
||||
```
|
||||
|
||||
|
||||
### Evaluation
|
||||
```
|
||||
python infer_paper2.py --opt experiments/MotionGlow/train_MotionWavaFlow22.yaml
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user