Крестики-нолики с использованием opencv и kerasPython

Программы на Python
Ответить Пред. темаСлед. тема
Anonymous
 Крестики-нолики с использованием opencv и keras

Сообщение Anonymous »


i want to run this project https://github.com/tempdata73/tic-tac-toe but i get (.venv) PS C:\Users\Bakkari Informatique\tic-tac-toe-master> & "c:/Users/Bakkari Informatique/tic-tac-toe-master/.venv/Scripts/python.exe" "c:/Users/Bakkari Informatique/tic-tac-toe-master/play.py" 0 2024-03-06 09:02:51.300100: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0. 2024-03-06 09:02:53.793260: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0. 2024-03-06 09:02:58.918796: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. WARNING:absl:Compiled the loaded model, but the compiled metrics have yet to be built. model.compile_metrics will be empty until you train or evaluate the model. Traceback (most recent call last): File "c:\Users\Bakkari Informatique\tic-tac-toe-master\play.py", line 246, in main(parse_arguments(sys.argv[1:])) winner = play(vcap) ^^^^^^^^^^ File "c:\Users\Bakkari Informatique\tic-tac-toe-master\play.py", line 149, in play cv2.circle(frame, tuple(c), 2, (0, 0, 255), 2) cv2.error: OpenCV(4.9.0) :-1: error: (-5:Bad argument) in function 'circle'

Overload resolution failed:
  • Can't parse 'center'. Sequence item with index 0 has a wrong type
  • Can't parse 'center'. Sequence item with index 0 has a wrong type any help please


Источник: https://stackoverflow.com/questions/781 ... -and-keras
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Python»