Basicsr

Latest version: v1.4.2

Safety actively analyzes 710445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

1.3.4.2

🚀 Have a nice day 🐶

This is a _minor_ release~

✨ Highlight

✅ [Enhancement] Support the official **torchvision.ops.deform_conv2d** for torchvision>=0.9.0
✅ [Enhancement] Add **`force_yml`** option. You can force to change the option yml options in the command line. Examples: `python basicsr/train.py -opt options/train/SRResNet_SRGAN/train_MSRResNet_x4.yml -train:ema_decay=0.999`
✅ [Enhancement] **Copy the option yml** file to the experiment folder
✅ [Enhancement] Add AvgTimer. The data time and iteration time in the logging are averaged in 200 iterations.
✅ [Enhancement] Add `persistent_workers` option to dataloader
✅ [Enhancement] Add vscode settings.
✅ [Enhancement] Improve some formats

1.3.4.1

🚀 See you again 😸

✨ Highlight

- ✅ Add **SwinIR training and testing** codes
- [SwinIR](https://github.com/JingyunLiang/SwinIR) by [Jingyun Liang](https://github.com/JingyunLiang) 👍 Thanks for their great work~
- More details are in [HOWTOs.md](https://github.com/xinntao/BasicSR/blob/master/docs/HOWTOs.md#how-to-train-swinir-sr)
- ✅ All models in BasicSR support `EMA (Exponential Moving Average)`.

1.3.4.0

🚀

A lot of things have been improved since the last release note.

✨ Highlight
1. We add the official training and testing codes of [BasicVSR](https://arxiv.org/abs/2012.02181) - a video SR method
2. We improve NIQE metric. Now, the python version of NIQE could generate almost the same results as MATLAB.
3. Add [HiFaceGAN](https://github.com/Lotayou/Face-Renovation) codes by [Lotayou](https://lotayou.github.io/).
4. Add more [degradation](https://github.com/xinntao/BasicSR/blob/master/basicsr/data/degradations.py)
5. Add [BasicSR-Examples](https://github.com/xinntao/BasicSR-examples), which provides guidance and templates of using BasicSR as a python package.
6. Fixed many bugs: such as no logging in pt18, resume bugs, etc
......

We will spend more time on solving issues and reviewing the pull request.
Welcome to your contributions 😄

🚀🚀🚀

1.3.3.1

🚀

✨ Highlight

A minor version for quick bug fixed.
396
397

1.3.3

🚀

:sparkles: **Highlights**

We reorganize the BasicSR codes. It may be incompatible with the previous v1.2.0
- Add registry mechanism
- Support pip install
- Support JIT CUDA ops
- Can be easily used as an external package to develop your own project (example project is coming soon)
- Update format: change max line length to 120
- Add degradations (data utils)

This major change may introduce bugs. If you encounter bugs, please let me know. Thanks!

1.2.0

🚀

:sparkles: **Highlights**

- Add ESRGAN and DFDNet [colab](https://github.com/xinntao/BasicSR/tree/master/colab)
- Add FID and LPIPS metrics
- Add matlab imresize bicubic (317)
- README add datasets download links (318)

:bug: **Bug Fixes**
- PSNR and SSIM calculation on uint8 type
- Fix metrics bug in video_base_model.py (314)

:palm_tree: **Improvements**
- Reorganize code structure and remove unnessary packages
- `tensor2img` support gray images
- Refactor DFDNet codes

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.