fengyang0317 / unsupervised_captioning

Code for Unsupervised Image Captioning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

some quesitons about the process of images that will input the net

sakura2233565548 opened this issue · comments

in the "preprocess_image" function of input_pipeline.py: image = image * 2 - 1
why did you do this operation? I can't understand~could you tell me the reason?

The InceptionV4 model is pre-trained in this way.