  from multiprocessing import current_process
  from socket import timeout as socket_timeout, error as socket_error
  from threading import get_ident
  from time import time
  from typing import cast, Dict, List, Optional, Union, TYPE_CHECKING
  
  import numpy as np
  from tqdm import tqdm
  
  if sys.version_info < (3, 8):
 
</s> remove         amd_ver = 2.2
        min_ver = 2.7
        max_ver = 2.9
 </s> add         amd_ver = (2, 2)
        min_ver = (2, 7)
        max_ver = (2, 9) </s> remove         _TF_VERS = float(".".join(tf.__version__.split(".")[:2]))  # pylint:disable=no-member
 </s> add         split = tf.__version__.split(".")[:2]
        _TF_VERS = (int(split[0]), int(split[1])) </s> remove _TF_VERS: Optional[float] = None
 </s> add _TF_VERS: Optional[Tuple[int, int]] = None </s> remove         if get_tf_version() > 2.7:
 </s> add         if get_tf_version() > (2, 7): </s> remove         keras_name="EfficientNetV2S", no_amd=True, tf_min=2.8, scaling=(-1, 1), default_size=384),
 </s> add         keras_name="EfficientNetV2S",
        no_amd=True, tf_min=(2, 8), scaling=(-1, 1), default_size=384),
from typing import cast, Dict, List, Optional, Union, Tuple, TYPE_CHECKING
  from multiprocessing import current_process
  from socket import timeout as socket_timeout, error as socket_error
  from threading import get_ident
  from time import time
from typing import cast, Dict, List, Optional, Union, Tuple, TYPE_CHECKING
  
  import numpy as np
  from tqdm import tqdm
  
  if sys.version_info < (3, 8):
keep keep keep keep replace keep keep keep keep keep
 Bugfix - TF Version check 
lib/utils.py