InternGPT icon indicating copy to clipboard operation
InternGPT copied to clipboard

AttributeError: partially initialized module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline' (most likely due to a circular import)

Open TediousBoredom opened this issue 2 years ago • 1 comments

when running this command

python -u app.py \ --load "ImageOCRRecognition_cuda:0,Text2Image_cuda:0,SegmentAnything_cuda:0,ActionRecognition_cuda:0,VideoCaption_cuda:0,DenseCaption_cuda:0,ReplaceMaskedAnything_cuda:0,LDMInpainting_cuda:0,SegText2Image_cuda:0,ScribbleText2Image_cuda:0,Image2Scribble_cuda:0,Image2Canny_cuda:0,CannyText2Image_cuda:0,StyleGAN_cuda:0,Anything2Image_cuda:0,HuskyVQA_cuda:0" -e -p 3456 --https

I met this error

image

TediousBoredom avatar Sep 02 '23 04:09 TediousBoredom

pip uninstall opencv-python pip uninstall opencv-contrib-python pip uninstall opencv-python-headless and then pip install opencv-python Problem solved

kungkook avatar Oct 16 '23 06:10 kungkook