README.txt

June 14, 2019 ยท View on GitHub

Install packages in requirements.txt

  1. Create a folder 'input_dir' for storing original images.
  2. Create a text_file 'text_file' where each line is: image_name:sentence description.
  3. Run the following in Shell: python generate_image.py --input_dir 'input_dir' --text_file 'text_file' --output_dir 'output_dir'
  4. The BW images and their colorized versions can be found in the folder 'output_dir'

Examples can be found in the zip file.