BAID
1.0.0
git clone https://github.com/Dreemurr-T/BAID.git
cd BAID/
pip install pandas
pip install tqdm
python downloading_script/download.py
图像将保存到images/
文件夹中。
由于下载图像时可能会很慢,因此我们提供了获取数据集的替代方案:
数据集的地面标签可以在dataset
文件夹中找到。
可以安装其他依赖项:
pip install -r requirements.txt
images/
文件夹中 python pretraining_utils/pretrain_mani.py
python pretraining.py
在单个RTX3090上,整个训练过程大约需要2天。我们在开车时提供预告片的重量。
用于BAID培训,请使用:
python train.py
检查点将保存到checkpoint/SAAN
文件夹。
要在BAID上进行测试,请从Drive下载预处理的权重,将检查站放入checkpoint/BAID
中
然后使用:
python test.py
该数据集是根据CC BY-NC-ND 4.0许可的
该代码从pytorch-adain和non-local_pytorch借来。
如果您发现我们的作品有用,请将我们的作品引用为:
@InProceedings { Yi_2023_CVPR ,
author = { Yi, Ran and Tian, Haoyuan and Gu, Zhihao and Lai, Yu-Kun and Rosin, Paul L. } ,
title = { Towards Artistic Image Aesthetics Assessment: A Large-Scale Dataset and a New Method } ,
booktitle = { Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) } ,
month = { June } ,
year = { 2023 } ,
pages = { 22388-22397 }
}