Skip to content

An simple image classification system for evaluating adversarial images uploaded by users

License

Notifications You must be signed in to change notification settings

shiannn/SPML-query-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Learning Query System via Django

  • This is an image classification system for HW1 of Security and Privacy of Machine Learning.

  • Five adversarially trained models are provided for evaluating images uploaded by users.

    • Students need to generate adversarial examples (images) with enough attacking strength to make pre-trained models mis-classify.
    • Each submission is in .zip format containing no more than 500 images.
    • Each student has only 10 submissions per day.
  • An csv file of the classification results on each submitted image will be provided after each submission.

Users account settings

Log In Create an account Authorized page
Password reset Set new password Password change

Installing

Clone the repository

    git clone https://github.com/shiannn/SPML-query-system.git
    cd SPML-query-system

Create virtualenv

    virtualenv -p <Path to Your Python> env
    source env/bin/activate

Install dependencies

    python -m pip install -r requirements.txt

Apply migrations

    python source/manage.py migrate

Collect static files (only on a production server)

    python source/manage.py collectstatic

Run

    python source/manage.py runserver

Acknowledgement

The codebase of the registration and login is highly borrowed from Yehor Smoliakov

About

An simple image classification system for evaluating adversarial images uploaded by users

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published