buiquangmanhhp1999 / License-Plate-Recognition

License Plate Recognition
33 stars 22 forks source link

Chạy không được #12

Open nbthinh opened 10 months ago

nbthinh commented 10 months ago

Có cách nào sửa không bạn 2023-10-19 10:59:01.230960: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: SSE SSE2 SSE3 SSE4.1 SSE4.2 AVX AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. Traceback (most recent call last): File "D:\Bien_so_xe\License-Plate-Recognition\main.py", line 30, in image = model.predict(img) File "D:\Bien_so_xe\License-Plate-Recognition\src\lp_recognition.py", line 44, in predict for coordinate in self.extractLP(): # detect license plate by yolov3 File "D:\Bien_so_xe\License-Plate-Recognition\src\lp_recognition.py", line 33, in extractLP coordinates = self.detectLP.detect(self.image) File "D:\Bien_so_xe\License-Plate-Recognition\src\lp_detection\detect.py", line 29, in detect outputs = self.model.forward(utils.get_output_layers(self.model)) File "D:\Bien_so_xe\License-Plate-Recognition\src\data_utils.py", line 57, in get_output_layers output_layers = [layers_name[i[0] - 1] for i in model.getUnconnectedOutLayers()] File "D:\Bien_so_xe\License-Plate-Recognition\src\data_utils.py", line 57, in output_layers = [layers_name[i[0] - 1] for i in model.getUnconnectedOutLayers()] IndexError: invalid index to scalar variable.

EuphoriaCelestial commented 8 months ago

same issue here, have you fixed this?