selfconsistency

所属分类:collect
开发工具:Jupyter Notebook
文件大小:0KB
下载次数:0
上传日期:2022-11-22 02:18:23
上 传 者sh-1993
说明:  论文代码:打击假新闻:通过学习的自一致性进行图像拼接检测,
(Code for the paper: Fighting Fake News: Image Splice Detection via Learned Self-Consistency,)

文件列表:
LICENSE.txt (11357, 2021-05-05)
demo.ipynb (587483, 2021-05-05)
demo.py (16058, 2021-05-05)
download_model.sh (267, 2021-05-05)
images/ (0, 2021-05-05)
images/demo.png (718179, 2021-05-05)
init_paths.py (283, 2021-05-05)
lib/ (0, 2021-05-05)
lib/__init__.py (6, 2021-05-05)
lib/utils/ (0, 2021-05-05)
lib/utils/__init__.py (1, 2021-05-05)
lib/utils/benchmark_utils.py (13407, 2021-05-05)
lib/utils/io.py (1623, 2021-05-05)
lib/utils/ops.py (6026, 2021-05-05)
lib/utils/queue_runner.py (6131, 2021-05-05)
lib/utils/util.py (5391, 2021-05-05)
load_models.py (911, 2021-05-05)
models/ (0, 2021-05-05)
models/__init__.py (1, 2021-05-05)
models/exif/ (0, 2021-05-05)
models/exif/__init__.py (1, 2021-05-05)
models/exif/exif_net.py (12817, 2021-05-05)
models/exif/exif_solver.py (8827, 2021-05-05)
ncuts_demo.py (1664, 2021-05-05)
nets/ (0, 2021-05-05)
nets/__init__.py (2, 2021-05-05)
nets/resnet_utils.py (10624, 2021-05-05)
nets/resnet_v1.py (14060, 2021-05-05)
nets/resnet_v2.py (15312, 2021-05-05)
requirements.txt (147, 2021-05-05)

## Fighting Fake News: Image Splice Detection via Learned Self-Consistency ### [[paper]](https://arxiv.org/pdf/1805.04096.pdf) [[website]](https://minyoungg.github.io/selfconsistency/) [Minyoung Huh *12](https://minyounghuh.com), [Andrew Liu *1](http://andrewhliu.github.io/), [Andrew Owens1](http://andrewowens.com/), [Alexei A. Efros1](https://people.eecs.berkeley.edu/~efros/) In [ECCV](https://eccv2018.org/) 2018. UC Berkeley, Berkeley AI Research1 Carnegie Mellon University2 ### Abstract In this paper, we introduce a self-supervised method for learning to detect visual manipulations using only unlabeled data. Given a large collection of real photographs with automatically recorded EXIF meta-data, we train a model to determine whether an image is self-consistent -- that is, whether its content could have been produced by a single imaging pipeline. ### 1) Prerequisites First clone this repo ```git clone --single-branch https://github.com/minyoungg/selfconsistency``` All prerequisites should be listed in requirements.txt. The code is written on TensorFlow and is run on Python2.7, we have not verified whether Python3 works. The following command should automatically load any necessary requirements: ```bash pip install -r requirements.txt``` ### 2) Downloading pretrained model To download our pretrained-model run the following script in the terminal: ```chmod 755 download_model.sh && ./download_model.sh ``` ### 3) Demo To run our model on an image run the following code: ``` python demo.py --im_path=./images/demo.png``` We also provide a normalized cut implementation by running the code: ``` python ncuts_demo.py --im_path=./images/ncuts_demo.png``` We have setup a ipython notebook demo [here](demo.ipynb) Disclaimer: Our model works the best on high-resolution natural images. Frames from videos do not generally work well. ### Citation If you find our work useful, please cite: ``` @inproceedings{huh18forensics, title = {Fighting Fake News: Image Splice Detection via Learned Self-Consistency} author = {Huh, Minyoung and Liu, Andrew and Owens, Andrew and Efros, Alexei A.}, booktitle = {ECCV}, year = {2018} } ``` ## Questions For any further questions please contact Minyoung Huh or Andrew Liu

近期下载者

相关文件


收藏者