-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
Adding EDSR model #19952
Adding EDSR model #19952
Conversation
I will add the other components based on this page. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
cc @alaradirik and @NielsRogge |
Sorry for the delay. |
Hi @venkat-natchi, thanks for working on this! I can help you with that but I saw that there is no conversion script yet. The conversion script (e.g. convert_original_XXX.py) loads the pre-trained original model and the randomly initialized HF model with the corresponding configuration, and replaces each parameter of the HF model with the corresponding learned parameter of the original model. We also have a convenient |
@venkat-natchi I guess you also need to rebase your branch on main as TensorFlow new release broke a lot of things so tests won't pass unless you do this. |
Thanks guys.!! Started with a convert_script and rebased with main branch. |
There is multiprocessing here for data loading. I need some help in disengaging it and implement a simple processing step. |
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
@alaradirik and @NielsRogge Friendly ping here. |
Hi @venkat-natchi, would it be possible to rebase your branch on the main branch of transformers? This way, the CI becomes greener, and allows us to review the PR in depth. |
Sure, will do. Thanks |
2aef5fd
to
bf9da7d
Compare
Hello, can I work on this issue? Although I'm new to open-source contributions, I've worked on super-resolution models in the past and I was wondering why HuggingFace did not have these. I am familiar with PyTorch. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
Hi @asrimanth, perhaps you could collaborate with @venkat-natchi on this PR if they are okay with it? Super resolution is definitely a task we would like to add to transformers and this would be a great first addition :) |
Hello @alaradirik, Sure! I am interested. How do I get started? |
@venkat-natchi can add you as a contributor to their forked transformers repo and you two could collaborate on this branch if they are okay with it. @venkat-natchi would you prefer to work on the PR on your own or hand it over to @asrimanth instead? In any case, you can refer to the guidelines to get started with adding a model. I'd recommend first checking you can run the original repo without any issues though. Here are some summarized points that might help:
Once you are done, you would need to run the following commands to check the PR passes all CI tests:
We can do an in-depth review once the PR passes most tests or the configuration, preprocessing and modeling is mostly complete. Hope this helps! |
Sure, I will add you as collaborator. |
Sorry for the delay. |
You can find the working version of the original repository here |
Hello @alaradirik and the HuggingFace Team, I seem to run into an error where the
Should I upload these weights into the hub? If so, should I upload these to my profile? Is there a way to load these weights from the URL like torch.hub.load? Please let me know. |
Hi @asrimanth , that's correct, the Repos on the hub are placed under the organization that wrote the paper (Seoul National University in this case). We can ask them to create an organization on the hub but we will place the repos under the huggingface organization until they do so. Since model conversion is the last step, you can fill in the list with the repo paths you intend to create. For example:
|
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
Model add edsr
What does this PR do?
Fixes #19631