I am having issues after converting an image array to a list, and converting back to an array
img_list = img.tolist()
img_arr = np.array(img_list)

However, directly consuming the image array works fine.
Why is the conversion causing an issue?

  
      stackoverflow.com
  
  
      
    
  

  RuntimeError: "upsample_bilinear2d_channels_last" not implemented for 'Long' after converting np array to list 15



  python, numpy, pytorch, detectron



  asked by
  
  
    Dawny33
  
  on 04:16AM - 20 Dec 20 UTC