sergiomsilva / alpr-unconstrained

License Plate Detection and Recognition in Unconstrained Scenarios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

List index out of range

hungtrieu07 opened this issue · comments

Hello guys, i'm having this problem when train model. I have a dataset about ~115k file (include image and license annotation file). When i train this dataset using train-detector.py, error appeared:

WARNING:tensorflow:From train-detector.py:54: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead.

/usr/local/lib/python3.7/dist-packages/keras/optimizer_v2/adam.py:105: UserWarning: The lr argument is deprecated, use learning_rate instead.
super(Adam, self).init(name, **kwargs)
Checking input directory...
Traceback (most recent call last):
File "train-detector.py", line 91, in
Data.append([I,L[0]])
IndexError: list index out of range

I'm using Colab to train this model, Python 3 version of this repository.

bạn fix được lỗi này chưa, t chỉ sử dụng 400 file để train mà nó cũng bị như này