gorchard / event-python Goto Github PK
View Code? Open in Web Editor NEWPython code for event based vision
License: MIT License
Python code for event based vision
License: MIT License
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
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.