Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List index out of range #162

Open
hungtrieu07 opened this issue Aug 2, 2022 · 1 comment
Open

List index out of range #162

hungtrieu07 opened this issue Aug 2, 2022 · 1 comment

Comments

@hungtrieu07
Copy link

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.

@C0NGTRI123
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants