Hi All,
Can someone please help with the below error.
I have no idea what went wrong and here is my error and  code link from my Github please help in fixing the error.

  
      github.com
  
  
    Batmancity/Detection/blob/main/Code.py 7
from .imports import *
from .torch_imports import *
from .core import *
from .layer_optimizer import *

def cut_model(m, cut):
    return list(m.children())[:cut] if cut else [m]

def predict_to_bcolz(m, gen, arr, workers=4):
    arr.trim(len(arr))
    lock=threading.Lock()
    m.eval()
    for x,*_ in tqdm(gen):
        y = to_np(m(VV(x)).data)
        with lock:
            arr.append(y)
            arr.flush()

def num_features(m):
    c=children(m)


  This file has been truncated. show original