TensorFlow hatası nasıl çözülür?

Oray_bey

Centipat
Katılım
27 Ağustos 2023
Mesajlar
86
Daha fazla  
Sistem Özellikleri
Tost makinası + bim klavyesi
Cinsiyet
Erkek
Videodan baka baka Mediapipe ve OpenCV ile el takibi kodu yazdım çalıştırdım, aldığım hata şuydu:

2024-11-06 20:55:29.786974: 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.
Traceback (most recent call last):
File "/home/emir/PycharmProjects/deneme1/main.py", line 8, in <module>
with mp_hands.Hands(
File "/home/emir/PycharmProjects/deneme1/.venv/lib/python3.10/site-packages/mediapipe/python/solutions/hands.py", line 114, in [B]init[/B]
super().[B]init[/B](
File "/home/emir/PycharmProjects/deneme1/.venv/lib/python3.10/site-packages/mediapipe/python/solution_base.py", line 234, in [B]init[/B]
validated_graph.initialize(
ValueError: while processing the input streams of subgraph node InferenceCalculator: TAG:index:name is invalid, "TENSORS:palmdetectioncpu__Inferencecalculator__palmdetectioncpu__input_tensor" does not match "([A-Z_][A-Z0-9_][I]:((0|[1-9][0-9][/I]):)?)?[a-z_][a-z0-9_]*" (examples: "TAG:name" "VIDEO:2:name_b", "longer_name").

Sebebi nedir, kodda hata yok, syntax birebir aynı, yardımcı olur musunuz?
 
Hatayı biraz inceledim sonra TensorFlow CPU'yu indirdim bir seferde CUDA çekirdekleri ile ilgili hata veiyor tüm sürümleri denedim birazdan Dual boot Windows kurup yine deneyeceğim
 
mediapipe 0.10.0 - 0.10.8 arası sürümleri deniyip geliyorum reis

Yok olmadı hiçbirinde, Python sürümüde uygun 3.10 harici kamera takayım diyeceğim ama kamera yok yarın hallederim
 

Technopat Haberler

Yeni konular

Geri
Yukarı