google-research / maxim

[CVPR 2022 Oral] Official repository for "MAXIM: Multi-Axis MLP for Image Processing". SOTA for denoising, deblurring, deraining, dehazing, and enhancement.
https://arxiv.org/abs/2201.02973
Apache License 2.0
977 stars 105 forks source link

add web demo/models to Huggingface #9

Open AK391 opened 2 years ago

AK391 commented 2 years ago

Hi, would you be interested in adding maxim to Hugging Face? The Hub offers free hosting, and it would make your work more accessible and visible to the rest of the ML community. Models/datasets/spaces(web demos) can be added to a user account or organization similar to github.

Example from other organizations: Keras: https://huggingface.co/keras-io Microsoft: https://huggingface.co/microsoft Facebook: https://huggingface.co/facebook

Example spaces with repos: github: https://github.com/salesforce/BLIP Spaces: https://huggingface.co/spaces/salesforce/BLIP

github: https://github.com/facebookresearch/omnivore Spaces: https://huggingface.co/spaces/akhaliq/omnivore

and here are guides for adding spaces/models/datasets to your org

How to add a Space: https://huggingface.co/blog/gradio-spaces how to add models: https://huggingface.co/docs/hub/adding-a-model uploading a dataset: https://huggingface.co/docs/datasets/upload_dataset.html

Please let us know if you would be interested and if you have any questions, we can also help with the technical implementation.

vztu commented 2 years ago

Hi thanks @AK391. Yes I'm very interested in adding maxim to Hugging Face spaces. I have never done this before, but I do see a lot of exciting demos in Hugging Face spaces, which look pretty great.

To start with, I should be following these guides, right?

How to add a Space: https://huggingface.co/blog/gradio-spaces how to add models: https://huggingface.co/docs/hub/adding-a-model uploading a dataset: https://huggingface.co/docs/datasets/upload_dataset.html

AK391 commented 2 years ago

@vztu Hi, great, yes you can follow the guide to setup a gradio demo on Hugging Face Spaces https://huggingface.co/blog/gradio-spaces, there is also gradio docs here https://gradio.app/docs/. The other two are guides for adding models(checkpoints/weights) and datasets.

Here is another example of a Gradio demo: https://huggingface.co/spaces/multimodalart/latentdiffusion and code: https://huggingface.co/spaces/multimodalart/latentdiffusion/blob/main/app.py

vztu commented 2 years ago

Thanks AK! Let me give it a try and let you know if I meet any problems~

sayakpaul commented 1 year ago

I have added a couple of spaces:

Will be adding the rest soon.

More details are here: #30.