Giter Site home page Giter Site logo

Colab error about lama HOT 7 CLOSED

advimman avatar advimman commented on May 21, 2024
Colab error

from lama.

Comments (7)

Oltrex avatar Oltrex commented on May 21, 2024 2

Hi @Oltrex, did you try to look at the output folder?

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

from lama.

bbboy1901 avatar bbboy1901 commented on May 21, 2024

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

from lama.

Oltrex avatar Oltrex commented on May 21, 2024

that fixed it¡ thanks, alse is there any way to make it output hd results, it heavily downscales it

from lama.

senya-ashukha avatar senya-ashukha commented on May 21, 2024

Hi @bbboy1901,

Thx for the fix! It is now in the ipython notebook;

from lama.

senya-ashukha avatar senya-ashukha commented on May 21, 2024

Hi @Oltrex, did you try to look at the output folder?

from lama.

senya-ashukha avatar senya-ashukha commented on May 21, 2024

The initial issue is fixed, so I close this;

from lama.

siam009 avatar siam009 commented on May 21, 2024

Still facing the same error

from lama.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.