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 }
}