debug of CCN_one_image