README.txt
June 14, 2019 ยท View on GitHub
Install packages in requirements.txt
- Create a folder 'input_dir' for storing original images.
- Create a text_file 'text_file' where each line is: image_name:sentence description.
- Run the following in Shell: python generate_image.py --input_dir 'input_dir' --text_file 'text_file' --output_dir 'output_dir'
- The BW images and their colorized versions can be found in the folder 'output_dir'
Examples can be found in the zip file.