Commit Graph
278 Commits
Author SHA1 Message Date
liangsen 17e12ec39f Merge branch 'main' of http://www.lambdax.cn:7180/liangsen/audio-driven-face-animation into main 2022-06-07 15:41:01 +08:00
liangsen 03e88d02e0 update actor5 concat coeff 2022-06-07 15:21:06 +08:00
sen.liang 7aed8b140a add Actor7 support 2022-05-28 00:01:31 +08:00
liangsen a4c53e3265 add actor7Data 2022-05-26 10:02:37 +08:00
liangsen 922a98e36b update actor5 & actor6 data processing code 2022-05-23 22:11:29 +08:00
liangsen 2095b48c56 train is ok 2022-05-15 00:20:08 +08:00
liangsen b4c197a8ac beta add render 2022-05-14 23:20:55 +08:00
liangsen 83f99d9ec5 add data processing for crop & skin-mask 2022-05-12 10:34:07 +08:00
liangsen e51d3d1a6f add mesh data by git lfs 2022-05-08 22:22:22 +08:00
liangsen 0f7b828abe add onnx test 2022-05-08 22:00:49 +08:00
liangsen 1497e60c3f track *.onnx file using Git LFS 2022-05-08 21:59:48 +08:00
Sen Liang c4ed7854e7 init first 2022-05-08 17:42:17 +08:00
Nils Werner a4b5299c26 Log model hparams first (#263)
* Change the order of logging hparams for more convenient tensorboard usage
2022-03-03 01:41:58 +01:00
Nils Werner d0803d4e63 Recursively instantiate SimpleDenseNet using Hydra (#209)
* Add recursive instantiation of `net` object which is passed to `MNISTLitModule` on init
2022-03-03 01:31:50 +01:00
LEE HANBIN 5b7fde8e3a fix : Not printing best ckeckpoint (#261)
* change `config.trainer.get("train")` to `config.get("train")` in `training_pipeline.py`
2022-02-28 22:23:36 +01:00
Nils Werner fb7c206889 Remove optuna default values (#235)
* Remove some of the optuna default values
* Add more explanatory comments in mnist_optuna.yaml
2022-02-19 21:39:01 +01:00
ashleve d25db15ad5 Update requirements and pre-commit hooks (#255)
* Update package versions in requirements.txt
* Update pre-commit hooks versions in pre-commit-config.yaml
* Specify testpath in setup.cfg
* Update readme
2022-02-19 21:00:56 +01:00
ashleve ddbd1e3c78 Move wandb callbacks to the wandb-callbacks branch (#254)
* Remove `src/callbacks/`
* Remove `configs/callbacks/wandb.yaml`
* Update readme
2022-02-19 19:58:44 +01:00
ashleve 2242ea1677 Rename folder bash to scripts (#253) 2022-02-19 19:28:23 +01:00
ashleve c206f818c6 Add nbstripout to pre-commit hooks (#252)
- Add jupyter notebook output cell clearing before commit
2022-02-19 19:17:14 +01:00
ashleve fe4e61edc1 Multiple pipelines - training and evaluation (#250)
- introduce best practice for multiple pipelines
- Implement evaluation pipeline
- allow for using relative ckpt paths
- general refactoring
- update README.md
2022-02-19 19:11:11 +01:00
ashleve 02d3b65aaa Refactor rich config printing (#249)
- Refactor `print_config()` method
- Modify `print_config()` so all config groups are always printend
2022-02-18 12:29:01 +01:00
ashleve 19f5454d13 Refactoring configs (#248)
- make every run be an experiment by default
- deprecate `mode` configs
- introduce `debug` configs
- introduce `log_dir` configs
- remove unnecessary utilities from `utils.extras()`
- add config flag for skipping training
- update README.md
2022-02-18 01:38:04 +01:00
ashleve 2ff8e053bf Update requirements.txt for mac compatibility (#247) 2022-02-16 21:39:20 +01:00
Łukasz Zalewski 390f42f763 Documentation and comment improvements (#242) 2022-01-09 02:34:31 +01:00
Łukasz Zalewski 15bef37b1d Add metric name validation for hyperparameter search (#241) 2022-01-09 00:34:53 +01:00
Nils Werner c4940edaec Remove redundant parts in filenames (#213)
* Remove redundant parts in config filenames
* Change `mnist_model.py` to `mnist_module.py`
* Change `MNISTLitModel` to `MNISTLitModule`
* Change folder `modules/` to `components/`
* Update README
2022-01-08 23:54:06 +01:00
Nils Werner 8b62eef9d0 Rename accelerator="ddp" to strategy="ddp" (#228) 2021-12-16 19:39:07 +01:00
charles 7a33c0bdad Remove deprecated trainer arguments (#223)
* Remove deprecated trainer arguments: `weight summary` and `progress_bar_refresh_rate`
* Remove deprecated example from README
* Add RichModelSummary to the callbacks
2021-12-15 01:40:18 +01:00
Łukasz Zalewski 0feda07965 Fix missing parameter in "Accessing datamodule attributes" trick in the README (#219) 2021-12-10 17:59:40 +01:00
Zhenyu Jiang 30c69b81c7 Avoid conflict between isort and black (#214)
Specify black profile for isort inside .pre-commit-config.yaml just in case someone deletes the setup.cfg
2021-12-04 23:07:52 +01:00
Nils Werner ab02996fd4 Unify log dir structure (#211)
* Unifiy log dir paths
* Add a little helper script `logs/latest` which can be used to quickly change into the latest log dir of a specific kind
* Update README
2021-12-03 03:42:33 +01:00
Nils Werner 6cbf168156 Add vendor dir (#207)
Implement "best practice" for storing third party code
2021-12-02 18:36:41 +01:00
Nils Werner 2dddbd54d1 Local config files (#205)
* Introduce local config files
2021-11-26 18:10:11 +01:00
Łukasz Zalewski abce7bcf04 Update documentation 2021-11-19 12:51:11 +01:00
Łukasz Zalewski fd5836be8a Release/1.2 (#199)
*add manual resetting of metrics at the end of every epoch
*set `pytorch-lightning>=1.5` in `requirements.txt`
2021-11-08 21:15:54 +01:00
Łukasz Zalewski 9468ef91c5 Release/1.2 (#198)
* update template to pytorch 1.10+ and lightning 1.5+
* add experiment mode to all experiment configs and implement special logging paths for experiment mode
* add `MaxMetric` to model, for computation of best so far validation accuracy
* add RichProgressBar to default callbacks
* get rid of trick for preventing auto hparam logging, since lightning now supports it with `self.save_hyperparameters(logger=False)`
* add `self.save_hyperparameters()` to datamodule since lightinng now supports it
* deprecate Apex support
* deprecate bash script for conda setup
* change `terminate_on_nan` debug option to `detect_anomaly` for compatibility with lightning v1.5
* specify model and datamodule during `trainer.test()`, for compatibility with lightning v1.5
* remove `configs/trainer/all_params.yaml`
* make hyperparameter optimization compatible with lightning v1.5
* general documentation improvements
2021-11-05 12:38:44 +01:00
Charles Gaydon 6159c413f2 Clarify meaning of EarlyStopping patience (#195)
*specify that EarlyStopping patience is counted in validation epochs and not in training epochs.
2021-10-28 19:24:04 +02:00
Eungbean Lee 95d9f7a90d General documentation improvements (#193)
*add a new way for accessing datamodule attributes to the README
*general documentation improvements
2021-10-25 21:58:13 +02:00
ashleve f212e617b1 Update mnist_datamodule.py 2021-10-12 16:02:39 +02:00
Łukasz Zalewski eee3f9ccd3 Hotfix (#187)
* make debug mode automatically set level of all command line loggers to `DEBUG`
* make debug mode automatically set the trainer config to `debug.yaml`
* add generator seed to fix test data leaking to train data in datamodule `setup()`
* move Dockerfile to `dockerfiles` branch
* update README.md
2021-10-12 15:32:19 +02:00
Łukasz Zalewski e34ccb0acf Move LICENSE to README.md (#180) 2021-10-02 12:21:29 +02:00
Giuseppe Scriva 675a1ee2e5 Enanche trainer debug #177 (#179)
*modifiy `configs/trainer/debug.yaml` to enable some debug options
*remove unused `if config.get("debug"):` in `extras`
*update the documentation
2021-09-30 12:47:19 +02:00
Łukasz Zalewski 86f30fb320 Release/1.1 (#174)
* introduce different running modes: default, debug, experiment
* fix pytorch installation in setup_conda.sh
* fix incorrect calculation of precision, recall and f1 score in wandb callback
* add `_self_` to config.yaml for compatibility with hydra1.1
* fix setting seed in `train.py` so it's skipped when `seed=null`
* add exception message when trying to use wandb callbacks with `trainer.fast_dev_run=true`
* change `axis=-1` to `dim=-1` in LogImagePredictions callback
* add 'Reproducibilty' section to README.md
2021-09-28 20:07:40 +02:00
Zhengyu Yang 89b502b090 Update wandb_callbacks.py (#152)
* Update wandb_callbacks.py
* UploadCodeAsArtifact: Add the functionality to use git to decide which files are source files. Can upload all files that are not ignored by git instead of all '*.py' file.
* UploadCheckpointsAsArtifact: ckpts are output of the run, so use `experiment.log_artifact(ckpts)` instead
2021-08-13 10:02:22 +02:00
Łukasz Zalewski b60f958717 Update README.md 2021-07-21 03:54:46 +02:00
Łukasz Zalewski d45f604bc8 Release/1.0 (#156)
* update to Hydra 1.1
* add bash folder with scripts for conda setup and run scheduling
* add saving seed in `log_hyperparameters()` method
* redesign Dockerfile to make it weight less
* add `test_after_training` parameter to config
* add inheritance to trainer configs
* remove forcing ddp-friendly configuration
* refactor tests
* remove conda_env_gpu.yaml
* remove default langage version from pre-commit config
* add mnist datamodule unit test
* rename test folder from 'smoke' to 'shell'
* remove wandb import from utils.py
* change 'use_artifact' to 'log_artifact' in wandb callbacks
* add rank zero decorator to wandb callbacks
* add dumping rich tree config to file
* get rid of `=` character in ckpt names
* update requirements.txt
* update LICENSE
* update README.md
2021-07-21 03:37:45 +02:00
Yiyao Wei 362a4beebb Refactor dockerfile (#149)
* refactor dockerfile to allow mounting

* update README.md
2021-06-22 11:34:07 +02:00
Łukasz Zalewski 70ab061f75 Release/0.9 (#141)
* add flake8 and prettier to pre-commit-config
* add setup.cfg
* add workers=True to seed_everything()
* update lightning badge logo
* bump package versions
* update README.md
* add __init__.py files
* add more logger configs parameters
* add default Dockerfile
* change .env.template to .env.example
* move inference example to readme
* remove img_dataset.py
* simplify names of wandb callbacks
* remove wandb test marker
* format files with prettier
2021-05-21 09:26:31 +02:00
Łukasz Zalewski 023d4bdecc Dev (#136)
* comment improvements

* add __init__.py

* add disabling pin memory on fast dev run

* rename template_utils.py to utils.py

* improve README.md

* add num_classes property to mnist datamodule

* add sh to requirements.txt

* bump package versions
2021-05-03 13:15:32 +02:00