Using Keras, how can I input an X_train of images (more than a thousand images)?

后端 未结 3 1745
一生所求
一生所求 2021-02-04 17:37

My application is accident-avoidance car systems using Machine Learning (Convolutional Neural Networks). My images are 200x100 JPG images and the output is an array of 4 element

3条回答
  •  旧巷少年郎
    2021-02-04 18:05

    In this repository you have an example:

    https://github.com/ZFTurbo/KAGGLE_DISTRACTED_DRIVER/blob/master/run_keras_simple.py

    They have different folders, in every folder there is a different class of image. They load the images using OpenCV and they build arrays that contains the class of every image.

提交回复
热议问题