The format of the training photos is different

Hi everyone , all of my training pictures are not the same format.some jpg some jpeg.What do I have to do in this situation.

Try passing a list of extensions in your dataset.