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
กระบวนการเตรียมการทั้งหมดใช้เวลาประมาณ 2 วันใน RTX3090 เดียว เราให้น้ำหนักที่ได้รับการฝึกฝนที่ไดรฟ์
สำหรับการฝึกอบรมเกี่ยวกับ Baid ใช้:
python train.py
จุดตรวจจะได้รับการบันทึกไปยังโฟลเดอร์ checkpoint/SAAN
สำหรับการทดสอบเกี่ยวกับ 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 }
}