Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why do I keep getting this Tensorflow related message in Selenium errors?

I'm new to Selenium, and I've been trying to write some scripts for web scraping but sometimes when I make a mistake as part of the error message I see this line:

"Created TensorFlow Lite XNNPACK delegate for CPU."

for example in the latest error it was this:

"[5900:21516:0425/160524.581:ERROR:ssl_client_socket_impl.cc(879)] handshake failed; returned -1, SSL error code 1, net_error -201 Created TensorFlow Lite XNNPACK delegate for CPU."

why is TensorFlow mentioned here?

like image 599
user24680237 Avatar asked Jan 28 '26 21:01

user24680237


1 Answers

As browsermator already mentioned "Created TensorFlow Lite XNNPACK delegate for CPU." is not an error message but simply an info (cf. https://github.com/google-ai-edge/mediapipe/issues/3017). It can therefore be suppressed by adding

options.add_argument("--log-level=1")

to your webdriver's options.

like image 75
slintezgeu Avatar answered Jan 30 '26 10:01

slintezgeu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!