mmcv/tests/data
achaiah 21845db455
[Fix]: fix missing check of directory in scandir (#1110)
* Missing check for dir in the 'else' clause

Fixing issue when recursively scanning directories with filenames starting with '.'  Without this fix, the `if not entry.name.startswith('.') and entry.is_file()` logic falls through to the `else` clause which in the current code base will error out as it encounters '.' files (e.g. .DS_Store)

* Updated code per comments

* fixing indentation

* fix indenterror and add comment

* remove .DS_Store and add .file

Co-authored-by: zhouzaida <zhouzaida@163.com>
2021-06-29 21:31:00 +08:00
..
config Support variables in base files for configs (#1083) 2021-06-25 14:30:58 +08:00
demo.lmdb Add FileClient to access file from different backends (#237) 2020-04-23 19:54:29 +08:00
for_ccattention add ext ops, support parrots (#310) 2020-06-28 23:15:47 +08:00
for_psa_mask add ext ops, support parrots (#310) 2020-06-28 23:15:47 +08:00
for_scan [Fix]: fix missing check of directory in scandir (#1110) 2021-06-29 21:31:00 +08:00
model_zoo BC of model zoo: add deprecate urls (#301) 2020-05-27 22:09:06 +08:00
patches port from cvbase and do some refactoring 2018-08-27 02:12:31 +08:00
scripts Add test util for checking stand-alone python scripts (#1007) 2021-05-10 22:15:35 +08:00
batched_nms_data.pkl Add new parrots extension implementation for all ops (#794) 2021-02-26 19:05:25 +08:00
color.jpg port from cvbase and do some refactoring 2018-08-27 02:12:31 +08:00
color_exif.jpg Hande exif orientation with `pillow` backend in `imread` (#805) 2021-01-27 11:53:43 +08:00
filelist.txt port from cvbase and do some refactoring 2018-08-27 02:12:31 +08:00
gray_alpha.png added pillow backend in loading (#333) 2020-06-17 10:25:48 +08:00
grayscale.jpg port from cvbase and do some refactoring 2018-08-27 02:12:31 +08:00
grayscale_dim3.jpg Refactor unittests (#241) 2020-04-26 22:54:27 +08:00
mapping.txt port from cvbase and do some refactoring 2018-08-27 02:12:31 +08:00
optflow.flo add optical flow module 2018-08-27 03:10:39 +08:00
optflow_concat0.jpg refactoring for optflow 2018-08-28 01:38:53 +08:00
optflow_concat1.jpg refactoring for optflow 2018-08-28 01:38:53 +08:00
palette.gif added pillow backend in loading (#333) 2020-06-17 10:25:48 +08:00
test.mp4 port from cvbase and do some refactoring 2018-08-27 02:12:31 +08:00
uint16-5channel.tif add tifffile backend support for image io (#868) 2021-03-12 10:28:30 +08:00