Official repo for AdGPT: Explore Meaningful Advertising with ChatGPT
conda create -n AdGPT python=3.9
conda activate AdGPT
pip install -r requirements.txt
pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
python demo.py --image_path ./img/test.jpg \
--openai_key YOUR_API_KEY \
--openai_base https://api.openai.com/v1 \
--chat_model gpt-4-turbo-preview
if you have more than one device
CUDA_VISIBLE_DEVICES=0 python demo.py --image_path ./img/test.jpg \
--openai_key YOUR_API_KEY \
--openai_base https://api.openai.com/v1 \
--chat_model gpt-4-turbo-preview
python test.py --GSS
- Metrics-ChatGPT Rating
- Downstream Task-Slogan Generation
We would like to express our gratitude to previous work, which includes but is not limited to: Diffusers, EasyOCR, Detic, Transformers, and detectron2.