INNER CODE UNIT · Python
main
ashnkumar/sketch-code · src/convert_batch_of_images.py:30
def main():
parser = build_parser()
options = parser.parse_args()
pngs_path = options.pngs_path
output_folder = options.output_folder
model_json_file = options.model_json_file
model_weights_file = options.model_weights_file
print_bleu_score = options.print_bleu_score
original_guis_filepath = options.original_guis_filepath
style = options.style
if not os.path.exists(output_folder):
os.makedirs(output_folder)
# Create sampler
sampler = Sampler(model_json_path=model_json_file,
model_weights_path = model_weights_file)