Spaces:
Running
title: README
emoji: ๐
colorFrom: indigo
colorTo: indigo
sdk: static
pinned: false
CALL FOR DEMOS: https://cvpr2022.thecvf.com/call-demos
The demo track calling for papers is ended. This organization invites participants to showoff conference papers on huggingface as a Gradio Web Demo
Join organization by clicking here
Tutorial on Setting up Gradio Demo on Hugging Face: https://huggingface.co/blog/gradio-spaces

Hugging Face Spaces & Gradio for Showcasing your CVPR โ22 Demo
In this tutorial, we will demonstrate how to showcase your demo with an easy to use web interface using the Gradio Python library and host it on Hugging Face Spaces so that conference attendees can easily find and try out your demos.
๐ Create a Gradio Demo from your Model
The first step is to create a web demo from your model. As an example, we will be creating a demo from an image classification model (called model) which we will be uploading to Spaces. The full code for steps 1-4 can be found in this colab notebook.
1. Install the gradio library
All you need to do is to run this in the terminal: pip install gradio
2. Define a function in your Python code that performs inference with your model on a data point and returns the prediction
Hereโs we define our image classification model prediction function in PyTorch (any framework, like TensorFlow, scikit-learn, JAX, or a plain Python will work as well):
def predict(inp):
inp = Image.fromarray(inp.astype('uint8'), 'RGB')
inp = transforms.ToTensor()(inp).unsqueeze(0)
with torch.no_grad():
prediction = torch.nn.functional.softmax(model(inp)[0], dim=0)
return {labels[i]: float(prediction[i]) for i in range(1000)}
Accepted demos will be accessible either through the virtual CVPR website or the physical CVPR event (or both if applicable). Papers describing accepted demonstrations will be published in the CVPR conference proceedings (Demo Track).
Note: Commercial sales and marketing activities are not appropriate for submissions in the CVPR Demo Track and should be arranged as part of the CVPR Exhibit Program.
Best Demo Awards
CVPR 2022โs demo track will feature Best Demo Awards. We hope to encourage researchers to create interactive systems based on cutting-edge research that is publicly available, fun, useful, and easy-to-use.
Important Dates
- Paper registration deadline Round 1: (Late registrations will require organizer permission): Jan 31, 2022
- Paper submission deadline Round 1: Feb 7, 2022
- Notification of acceptance Round 1: March 8, 2022
- Paper registration deadline Round 2 (fast track for CVPR): March 18, 2022
- Paper submission deadline Round 2 : March 20, 2022
- Camera-ready submission: April 18, 2022
All deadlines are 11.59 pm Pacific Time
The proposed system needs to be ready at Camera-Ready time. Additional improvements are allowed, but should not diverge significantly from the published description in the paper.
Note: we encourage authors to submit to Round 1 if possible. For Round 2, we focus on fast track for accepted/rejected CVPR main conference papers. Each demo paper based on a previous CVPR submission should be submitted along with the CVPR paper submission, reviews and decisions.