Commit Graph

11 Commits (22fadceecd525942f4ae0cbfac97d14bc6858b11)

Author SHA1 Message Date
Zaida Zhou 45fa3e44a2
Add pyupgrade pre-commit hook (#1937)
* add pyupgrade

* add options for pyupgrade

* minor refinement
2022-05-18 11:47:14 +08:00
Jiazhen Wang b57825f3f1
[Fix] fix train example (#1502)
* [Fix] fix train example

* [Fix] fix a detail in train example and add warning in MMDP

* [Fix] fix docstring

* [Fix] fix docstring
2021-11-23 18:35:26 +08:00
Zaida Zhou 74626ecea3
[Fix] Fix example (#1074)
* [Fix] Fix example

* rename Net to Model

* support training without gpu in example

* modify according to comment

* replace data path with relative path
2021-07-20 17:18:52 +08:00
Ma Zerun 15bcaa9c05
Add custom hook by config file (#970)
* Assign different priority to default hooks, and add custom hook register in base runner.

* Add custom hook register in example train file

* Add unittest of custom hook

* Code format
2021-05-13 20:29:17 +08:00
Kai Chen 63b7aa31b6
Fix docstring formats (#383)
* update doc formats

* update docstring
2020-07-04 00:55:25 +08:00
lizz 90a0f353ee
Format to conform pre-commit (#173)
Signed-off-by: lizz <lizz@sensetime.com>
2020-02-01 10:14:55 +08:00
Kai Chen eae81c1e86
Add yapf and isort to travis (#96)
* add yapf and isort to travis

* minor formatting

* remove blank lines

* skip unit tests for progressbar when python2

* update travis to ubuntu 16.04

* use a newer version ffmpeg

* add -y to add-apt-repository
2019-07-30 23:15:56 +08:00
Kai Chen 080489e931 set default log dir for TensorboardLoggerHook 2018-10-09 00:06:48 +08:00
Kai Chen 5a372d0592 bug fix and update examples 2018-10-04 20:20:29 +08:00
Kai Chen e042299452 update cifar10 example 2018-09-29 23:53:58 +08:00
Kai Chen ffdc1d457f add initial version of torchpack 2018-08-28 23:27:59 +08:00