12 Commits

Author SHA1 Message Date
Jerry Jiarui XU
a5b5193767
Fixed config import in config file (#261)
* fixed config import in code

* fixed isort
2020-05-01 21:55:07 +08:00
Jerry Jiarui XU
45a39dc6a8
make config merge a into b non-inplace (#254) 2020-04-29 15:09:27 +08:00
Kai Chen
a338d43d78
Refactor unittests (#241)
* refactor unittests

* split test_video.py to two files
2020-04-26 22:54:27 +08:00
Kai Chen
e333d8222b
Add FileClient to access file from different backends (#237)
* add file client

* install missing requirements

* use .format() instead of f-string
2020-04-23 19:54:29 +08:00
Jerry Jiarui XU
e87a04e3c7
add pretty_text (#220)
* add pretty_text

* add test cases

* add argument indent

* change pretty_text to property

* fixed format end
2020-04-03 21:18:34 +08:00
Jerry Jiarui XU
6738cd3085
add base for config (#194)
* add base for config

* fixed format

* rm terminal width

* support multiple & recursive base

* add test case

* fix format

* add test construct

* minor fix

* add more test, rewrite merge from opt

* avoid depulicate keys

* delete imported config as module

* rename merge_from_dict
2020-03-15 20:29:17 +08:00
lizz
c294d2713b
Support dot in config.py file (#207)
Signed-off-by: lizz <lizz@sensetime.com>
2020-03-12 23:20:50 +08:00
Kai Chen
31e684fcfe bug fix: raise exceptions for missing config keys 2018-09-20 14:15:12 +08:00
Kai Chen
978ecfda84 refactoring for optflow 2018-08-28 01:38:53 +08:00
Kai Chen
4adf7006b0 add config class 2018-08-27 20:25:52 +08:00
Kai Chen
5f2e58c5f2 add optical flow module 2018-08-27 03:10:39 +08:00
Kai Chen
cbcb90dc21 port from cvbase and do some refactoring 2018-08-27 02:12:31 +08:00