Text 2 Image Flowers
- Set up a virtual environment
python3 -m venv venv
- Configure enevironment using the following command:
pip install -r requirements.txt
- Run the following command to train the model:
python runtime.py --cfg config.yml
-
Open
config_test.yml
and change theTEST
key to appropriate value:1
for test on the validation set2
for test on predifined cutsom captions3
for generating model summary and architecture
-
Run the following command to test the model:
python runtime.py --cfg config_test.yml
Note: A checpoint is avaible at https://drive.google.com/file/d/1-b1MiUPppgY9zeNQCBqvhQIJRZV0BHBa/view?usp=sharing
Credits: