2020-07-02 17:32:05 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# @Date : 2020-07-01
|
|
|
|
# @Author : Shawn Shan (shansixiong@cs.uchicago.edu)
|
|
|
|
# @Link : https://www.shawnshan.com/
|
|
|
|
|
|
|
|
|
2021-03-07 06:39:19 +00:00
|
|
|
__version__ = '1.0.1'
|
2020-07-02 17:32:05 +00:00
|
|
|
|
|
|
|
from .differentiator import FawkesMaskGeneration
|
2020-07-11 23:12:32 +00:00
|
|
|
from .protection import main, Fawkes
|
2020-07-20 01:54:04 +00:00
|
|
|
from .utils import load_extractor, init_gpu, select_target_label, dump_image, reverse_process_cloaked, Faces, get_file, \
|
|
|
|
filter_image_paths
|
2020-07-02 17:32:05 +00:00
|
|
|
|
|
|
|
__all__ = (
|
2021-03-07 06:39:19 +00:00
|
|
|
'__version__',
|
2020-07-02 17:32:05 +00:00
|
|
|
'FawkesMaskGeneration', 'load_extractor',
|
|
|
|
'init_gpu',
|
2020-07-07 16:14:38 +00:00
|
|
|
'select_target_label', 'dump_image', 'reverse_process_cloaked',
|
2020-07-20 01:54:04 +00:00
|
|
|
'Faces', 'get_file', 'filter_image_paths', 'main', 'Fawkes'
|
2020-07-07 16:14:38 +00:00
|
|
|
)
|