Code Monkey home page Code Monkey logo

event-python's People

Contributors

cedricseah avatar gorchard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

event-python's Issues

Error in annotate.py "'NoneType' object has no attribute 'data'"

I am using python 3.6.x with windows 10 OS.
I am encountering an error while running annotate.py script, I did a minor change for the code to make it compatible with python 3.
I knew the code run smoothly when the below was show in the terminal.

Event-based vision module imported
State file found.
State file updated.
Please enter your name: Sami
Press [a] to add a track, [c] to mark this file as complete and continue to the next file, or [x] to exit.A
Annotating track number 0
Click in window and press spacebar to begin tracking

however, I followed all the instruction from the code and when the image open I tried to click on spacebar to begin tracking, but this what I got

Traceback (most recent call last):
File "C:/Users/Sami/Desktop/Companies/The MARCS Institute/Code Testing/DV Software Code/event-Python-master/annotate.py", line 530, in
main()
File "C:/Users/Sami/Desktop/Companies/The MARCS Institute/Code Testing/DV Software Code/event-Python-master/annotate.py", line 509, in main
add_track(annotation_state.output_subfolders[incomplete_file_ind], num_track_files, TD, annotated_by, annotation_state.source_files[incomplete_file_ind])
File "C:/Users/Sami/Desktop/Companies/The MARCS Institute/Code Testing/DV Software Code/event-Python-master/annotate.py", line 374, in add_track
track = annotate_tracks(TD, 100000)
File "C:/Users/Sami/Desktop/Companies/The MARCS Institute/Code Testing/DV Software Code/event-Python-master/annotate.py", line 186, in annotate_tracks
tmax = np.max(TD.data.ts)
AttributeError: 'NoneType' object has no attribute 'data'

Is this a bug? I am using nmnist.hdf5 dataset

thanks
Sami

ImportError: No module named win32api

did you use windows for developing and testing this library?
I am integrating this package in my one of my project but I am facing an issue with that.
win32api is library only for windows I think it's not supported in Ubuntu, can you guide me how did you test this project?

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.