Channels error while translating

RuntimeError: Given groups=1, weight of size 64 1 3 3, expected input[30, 3, 60, 360] to have 1 channels, but got 3 channels instead

command line is : onmt_translate -data_type img \

           -model demo-model_step_100000.pt \
           -src_dir data/im2text/images \
           -src data/im2text/src-test.txt \
           -output pred.txt \
           -max_length 150 \
           -beam_size 5 \
           -gpu 0 \
           -verbose

You had the same issue in:

and

Looks like the solution is similar?