[Bug Fix]Assertion error when input type is not annotation file