Commit Graph

9 Commits (04daea425bcb0a104d8b4acbbc16bd31304cf168)

Author SHA1 Message Date
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