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에서 테스트하려면 드라이브에서 사전에 사전 가중치를 다운로드하고 Checkpoint를 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 }
}