New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] utilize mmcv image backend #7067
base: dev
Are you sure you want to change the base?
Conversation
Codecov ReportPatch coverage is
📢 Thoughts on this report? Let us know!. |
""" | ||
|
||
def __init__(self, | ||
to_float32=False, | ||
color_type='color', | ||
file_client_args=dict(backend='disk')): | ||
file_client_args=dict(backend='disk'), | ||
image_backend=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is suggested to set imdecode_backend = 'cv2' as default
Hi @fcakyon , |
unfortunately i cannot fix the pre-commit error |
Maybe you should also add some code in init function: However, now, using |
@fcakyon Do you have any progress? |
Currently LoadImageFromFile pipeline doesnt support loading mmcv image backends as
pillow,tifffile...
but mmcv supports it.This PR adds the support of using other mmcv image backends.