Face De-Blurring
Solution for submission 175266
A detailed solution for submission 175266 submitted for challenge Face De-Blurring
Getting Started with Face Deblurring Challenge
In this puzzle, we have to de blur the blurred images.
This is a starter kit explaining how to download the data and also submit direcly via this notebook.
We will be submitting the sample prediction directly in the required format.
AIcrowd code utilities for downloading data for Language Classification
In [1]:
!pip install aicrowd-cli
%load_ext aicrowd.magic
Login to AIcrowd ㊗¶¶
In [2]:
%aicrowd login
Download Dataset¶¶
We will create a folder name data and download the files there.
In [3]:
!rm -rf data
!mkdir data
%aicrowd ds dl -c face-de-blurring -o data
In [4]:
!unzip data/train.zip -d data/train > /dev/null
!unzip data/val.zip -d data/val > /dev/null
!unzip data/test.zip -d data/test > /dev/null
Importing Libraries:¶
In [5]:
import pandas as pd
import numpy as np
import os
Diving in the dataset 🕵️♂️¶
In [6]:
train_blur_images = 'data/train/blur'
train_original_images = 'data/train/original'
val_blur_images = 'data/train/blur'
val_original_images = 'data/val/original'
Generating Prediction File¶
In this starter kit we will directly be submitting the blurred images. In case you would like to see a submission via baseline model.
In [7]:
!mkdir original
!cp -r data/test/blur/* original/
Submitting our Predictions¶
Note : Please save the notebook before submitting it (Ctrl + S)
In [9]:
%aicrowd notebook submit -c face-de-blurring -a original --no-verify
In [ ]:
Content
Comments
You must login before you can post a comment.