Tan SU

Results 6 issues of Tan SU

## Motivation Resolves #1875 ## Checklist **Before PR**: - [x] I have read and followed the workflow indicated in the [CONTRIBUTING.md](https://github.com/open-mmlab/mmcv/blob/master/CONTRIBUTING.md) to create this PR. - [x] Pre-commit or linting...

Ready

## Motivation `sys.stdout.fileno()` is not avaliable on some system. Since on Windows this should be 1 for our use case, we can just hardcode it to 1 and let `locale.getpreferredencoding()`...

## Motivation `runner.resume()` recompile configs loaded from `['meta']['config']`. In downstream repos, this meta config text is created by `config.pretty_text()`, which convert confg from dict to string. During this conversion, escapes...

size/XS

**Checklist** 1. I have searched related issues but cannot get the expected help. 2. I have read the [FAQ documentation](https://mmcv.readthedocs.io/en/latest/trouble_shooting.html) but cannot get the expected help. 3. The unexpected results...

From my understand, the trained model provides an invertible function that can convert between Raw and RGB image. The GT RGBs used in training are not the JPEGs straight out...

I was following the tutorials and since my Windows PC doesn't has `libJpeg` or `libPng`, I decided to use OpenCV for image I/O. Then I learnt that in Halide, RGB...