-
Notifications
You must be signed in to change notification settings - Fork 805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Colab error #82
Comments
I got the same error message on Colab. The first error in the traceback indicates there's a problem with importing cv2. I was able to solve the problem with some help from this thread on Stackoverflow... https://stackoverflow.com/questions/70537488/cannot-import-name-registermattype-from-cv2-cv2 Basically just uninstalling Colab's default opencv installation (v4.5.5.62) and installing a previous version (v4.1.2.30) fixed it. I added these two lines to my Colab right after the main code installation cell to make it work: !pip uninstall opencv-python-headless==4.5.5.62 --yes !pip install opencv-python-headless==4.1.2.30 |
that fixed it¡ thanks, alse is there any way to make it output hd results, it heavily downscales it |
Hi @bbboy1901, Thx for the fix! It is now in the ipython notebook; |
Hi @Oltrex, did you try to look at the output folder? |
The initial issue is fixed, so I close this; |
yes, it was in there, im new to colab and these stuff so i didnt knew i could just browse files and download it, thanks for the help everyone |
Still facing the same error |
FileNotFoundError: [Errno 2] No such file or directory: '/content/output/1224276_original_mask.png'
It happens with both custom images and the ones as examples
The text was updated successfully, but these errors were encountered: