Code Monkey home page Code Monkey logo

Comments (12)

duguyue100 avatar duguyue100 commented on July 16, 2024

This did not even make it through the OpenCV installation. I have a feeling colab has some problem with it

from v2e.

duguyue100 avatar duguyue100 commented on July 16, 2024

@neworderofjamie I see Colab has updated their environment to 3.10, which might be the reason?

I could debug a bit later, probably faster if you can mess around.

from v2e.

sanjayaherath avatar sanjayaherath commented on July 16, 2024

Got the same issue. Any fixes?

from v2e.

duguyue100 avatar duguyue100 commented on July 16, 2024

I don't have the capacity yet for fixing this problem. seems like a python version thing.

from v2e.

mariusschaab avatar mariusschaab commented on July 16, 2024

Opencv-python has the minimal NumPy requirement of Version 1.21.2 for Python 3.10 see here. That's conflicting with the Version 1.20 specified in setup.py.

You can create a copy of this CoLab and change the NumPy version to 1.22 after the git clone step in /content/v2e/setup.py line 37. Then run pip install . again.

from v2e.

tobidelbruck avatar tobidelbruck commented on July 16, 2024

from v2e.

neworderofjamie avatar neworderofjamie commented on July 16, 2024

Thanks @tobidelbruck - it now installs but I get an error when it tries to run the command:

ERROR:v2e:There is no synthetic input class specified but there are extra arguments ['--davis_output'] that are probably incorrect

from v2e.

duguyue100 avatar duguyue100 commented on July 16, 2024

@neworderofjamie I can confirm this, let me check what's the error there. probably a misplaced if statement.

from v2e.

tobidelbruck avatar tobidelbruck commented on July 16, 2024

from v2e.

duguyue100 avatar duguyue100 commented on July 16, 2024

@neworderofjamie You can delete and restart the colab runtime and give it a try, it should work now.

@tobidelbruck The troubled code is here:
https://github.com/SensorsINI/v2e/blob/master/v2e.py#L199-L201

     if synthetic_input_instance is None and len(other_args)>0:
         logger.error(f'There is no synthetic input class specified but there are extra arguments {other_args} that are probably incorrect')
         v2e_quit(1)

It looks like you introduced this 7 months ago. I'm not sure what's the reason (probably something to do with synthetic input)
I commented it out, and at least the colab script works.

from v2e.

neworderofjamie avatar neworderofjamie commented on July 16, 2024

Awesome! it now works - thanks @duguyue100

from v2e.

tobidelbruck avatar tobidelbruck commented on July 16, 2024

from v2e.

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.