Giter Site home page Giter Site logo

idl-project's Introduction

idl-project

Code files for 11785 Introduction to deep learning project

image

masks

Download notebook

The file for downloading the dataset is given here: Dataset Downloading and preparation Some of the commands here might be specific to a kaggle notebook. The notebooks in this repository have instructions and procedure to follow in the first markdown cell.

Take note to use the faceforensics++ dataset requires permissions from the authors of the paper.

FaceSwap Dataset Downloading and preparation

This code is used to prepare a dataset for FaceSwap, including downloading and organizing videos and images.

Code Overview

The code creates a directory called "dataset" and sets the necessary permissions. It downloads FaceSwap videos and masks from the EU2 server. The code creates directories for training, testing, and validation data. It moves the downloaded videos to the respective directories based on their category (original or altered). The code also moves the masks to the corresponding directories. It creates a directory for FaceSwap images and splits them into train, test, and validation sets. Finally, the code extracts images from the dataset, crops them, and saves them in the FaceSwap images directory.

Instructions

Before running the code, ensure that the required dependencies are installed. Make sure to set the appropriate permissions for the dataset directory. Adjust the number of videos and images to be downloaded, if needed. Modify the server location if necessary.

External Files

The code relies on the "Faceforencic_download_script.py" script for downloading videos. The "extract_images.py" script is used to extract and crop images from the dataset.

cropped_face

Download notebook

This notebook contains the code for building the model and for training to achieve the results stated Dataset Downloading and preparation

The provided code is a deep learning pipeline for training a model using the SeResNet architecture on a dataset of face images. The pipeline includes data loading, model creation, training, validation, and testing.

idl-project's People

Contributors

rdjarbeng avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.