mirror of https://github.com/open-mmlab/mmcv.git
* 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> |
||
---|---|---|
.. | ||
config | ||
demo.lmdb | ||
for_ccattention | ||
for_psa_mask | ||
for_scan | ||
model_zoo | ||
patches | ||
scripts | ||
batched_nms_data.pkl | ||
color.jpg | ||
color_exif.jpg | ||
filelist.txt | ||
gray_alpha.png | ||
grayscale.jpg | ||
grayscale_dim3.jpg | ||
mapping.txt | ||
optflow.flo | ||
optflow_concat0.jpg | ||
optflow_concat1.jpg | ||
palette.gif | ||
test.mp4 | ||
uint16-5channel.tif |