Skip to content
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] Request to remove the LoadImageFromFile Module requirement when using mmpretrain #2841

Open
ok97465 opened this issue Nov 18, 2024 · 0 comments

Comments

@ok97465
Copy link

ok97465 commented Nov 18, 2024

Motivation

Hello, thank you for your great work.

I'm working on converting mmpretrain Network to mmdeploy.

The LoadImageFromFile module must be present in mmpretrain's test_pipeline for it to work.

Is there any way to remove this as an option?
This is causing too much code modification for me.

Thank you in advance.

Related resources

if isinstance(imgs[0], str):
if cfg.test_pipeline[0]['type'] != 'LoadImageFromFile':
cfg.test_pipeline.insert(0, dict(type='LoadImageFromFile'))

Additional context

No response

@ok97465 ok97465 changed the title [Feature] MMpretrain [Feature] Request to remove the LoadImageFromFile Module requirement when using mmpretrain Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant