这篇论文的测试真的有点坑,作者使用的文件有点特殊。
简称为HLED网络。
read_me.md 的指示
Resampling Features
The codes for extracting resampling features can be found on “Radon” folder. Please change the input and output directory for your own dataset. Following is the command to extract the resampling features.
python extract_resamp_feat.py
In this code, the images are stored in hdf5 format. Please note that the package “pyfftw” are required to be installed before running the script. Please use the following command to install the package.
就是测试之前先运行 extract_resamp_feat.py文件,这个文件是提取图像特征用的。
会发现运行这个文件的时候会缺少一个库就是pysinogram,这个库是绝对搜不到的。好像是作者自己写的库,放在cmake里面。
想了半天没想明白怎么装这个库。
pysinogram
发现代码里面有这个东西。
找到文件夹里面的pysingram.so文件。

这篇博客介绍了在测试Hybrid LSTM和Encoder-Decoder架构(HLED网络)用于图像伪造检测时遇到的问题。文章提到,首先需要运行extract_resamp_feat.py以提取Resampling特征,但该过程依赖于找不到的pysinogram库。作者发现pysinogram可能是自定义库,并提到了包含pysinogram.so的文件。此外,还讨论了如何将数据集转换为hdf5格式并修改输入输出路径。
最低0.47元/天 解锁文章





