i am using a m1 air base model (2020).
whenever i run the following lines of code, it takes forever to run.
import tensorflow as tf
import tensorflow_hub as hub
model = hub.load(“TensorFlow Hub”)
It used to run in seconds a few seconds. but suddenly i don’t know what happened.
my network connection is fine.
I am able to run the code in seconds.please find the working gist.
It’s possible that the delay you experienced when running the code could be attributed to network issues affecting the download speed of the TensorFlow Hub module while attempting to access it.
I believe the issue has been resolved, and please feel free to let me know if there’s anything else I can assist you with!