Last active
July 11, 2024 08:49
-
-
Save trinhtuanvubk/daef4593101207ee56c4b28be31c2cb8 to your computer and use it in GitHub Desktop.
fix code inside lib
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| !sed -i 's/from torchvision.transforms.functional_tensor import rgb_to_grayscale/from torchvision.transforms.functional import rgb_to_grayscale/' /usr/local/lib/python3.10/dist-packages/basicsr/data/degradations.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment