bryandlee / animegan2-pytorch

PyTorch implementation of AnimeGANv2
MIT License
4.41k stars 641 forks source link

Why did you convert from BGR to RGB when saving result images? #32

Closed zihaog0724 closed 2 years ago

zihaog0724 commented 3 years ago

In test.py, you convert from BGR to RGB for the source image. But I did not understand the reason why you convert from BGR to RGB after finishing the inference period.

bryandlee commented 2 years ago

It was a mistake, should've been RGB2BGR. cv2 dependency is removed in the latest commit.