fawkes/fawkes/__init__.py

21 wiersze
626 B
Python
Czysty Zwykły widok Historia

# -*- 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'
from .differentiator import FawkesMaskGeneration
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
__all__ = (
2021-03-07 06:39:19 +00:00
'__version__',
'FawkesMaskGeneration', 'load_extractor',
'init_gpu',
'select_target_label', 'dump_image', 'reverse_process_cloaked',
2020-07-20 01:54:04 +00:00
'Faces', 'get_file', 'filter_image_paths', 'main', 'Fawkes'
)