Face Recognition
[ Getting Started Notebook ] Face Recognition
A getting started notebook with random submission for the challenge.
Getting Started with Face Recognition Challenge
In this puzzle, we have identify the face from the given collage of faces.
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 [ ]:
!pip install aicrowd-cli
%load_ext aicrowd.magic
Login to AIcrowd ㊗¶¶
In [ ]:
%aicrowd login
Download Dataset¶¶
We will create a folder name data and download the files there.
In [ ]:
!rm -rf data
!mkdir data
%aicrowd ds dl -c face-recognition -o data
In [ ]:
!unzip data/data.zip -d data > /dev/null
Diving in the dataset 🕵️♂️¶
In [ ]:
import pandas as pd
import numpy as np
import os
Diving in the dataset 🕵️♂️¶
In [ ]:
missing_image = 'data/Data/missing'
colage_image = 'data/Data/target'
Generating Prediction File¶
In this starter kit we will directly be submitting the sample prediction file. In case you would like to see a submission via baseline model, check it out here.
In [ ]:
submission = pd.read_csv('data/sample_submission.csv')
In [ ]:
submission.head()
Out[ ]:
In [ ]:
!rm -rf assets
!mkdir assets
submission.to_csv(os.path.join("assets", "submission.csv"))
Submitting our Predictions¶
Note : Please save the notebook before submitting it (Ctrl + S)
In [ ]:
%aicrowd notebook submit -c face-recognition -a assets --no-verify
In [ ]:
Content
Comments
You must login before you can post a comment.