Open buitrongdat1108 opened 2 years ago
Anh hãy loại bỏ index của biến i đi ạ, sửa thành output_layers = [layers_name[i - 1] for i in model.getUnconnectedOutLayers()]
Cảm ơn bạn rất nhiều nhé. Project rất hay đáng để học hỏi. Tiện đây cho mình hỏi là nếu ứng dụng trong công nghiệp (không realtime chỉ chụp ảnh và detect biển số) mà vẫn cho thời gian phản hồi nhanh và độ chính xác cao thì theo bạn nên dùng mạng nào để làm OCR được nhỉ ?
Mình cảm ơn bạn !
Bùi Trọng Đạt
Vào Th 5, 17 thg 2, 2022 vào lúc 00:02 dreamer-pvm < @.***> đã viết:
Anh hãy loại bỏ index của biến i đi ạ, sửa thành output_layers = [layers_name[i - 1] for i in model.getUnconnectedOutLayers()]
— Reply to this email directly, view it on GitHub https://github.com/buiquangmanhhp1999/License-Plate-Recognition/issues/5#issuecomment-1041882926, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATZXETHPWVLASX6XQTLXN2DU3PKDNANCNFSM5ODOPXCQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.*** com>
Anh hãy loại bỏ index của biến i đi ạ, sửa thành output_layers = [layers_name[i - 1] for i in model.getUnconnectedOutLayers()]
after I removed the index there, another error come up, also related to index:
File "/home/username/PycharmProjects/viblo-bienso/License-Plate-Recognition/src/lp_detection/detect.py", line 56, in detect
index = i[0]
IndexError: invalid index to scalar variable.
I tried to remove [0] here too, but obviously it didn't work. What should I do now?
Bạn cho mình hỏi cách khắc phục khi mình chạy project thì gặp lỗi này với. Thanks!![Screenshot from 2022-02-11 15-10-36](https://user-images.githubusercontent.com/83063372/153557383-40823463-4e08-4fba-b792-aa3210a770e9.png)