GithubHelp home page GithubHelp logo

event-detector's People

Contributors

kidzik avatar tikitaka02 avatar

Stargazers

 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

event-detector's Issues

BTK Issue

All the dependencies do not get downloaded using your instruction, matplotlib and sklearn needs to be installed manually.

I am using Python 2.7 on Mac OS Catalina, and when I run the script this is the error I get

ykk@Yongs-MBP Desktop % event-detector har20_0.c3d hello.c3d
Using TensorFlow backend.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/event-detector", line 10, in
from eventdetector.annotate import process
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/eventdetector/annotate.py", line 11, in
import btk
File "/usr/local/lib/python2.7/dist-packages/btk/init.py", line 31, in
_btk = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/btk/init.py", line 27, in swig_import_helper
_mod = imp.load_module('_btk', fp, pathname, description)
ImportError: dlopen(/usr/local/lib/python2.7/dist-packages/btk/_btk.so, 2): no suitable image found. Did find:
/usr/local/lib/python2.7/dist-packages/btk/_btk.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x03
/usr/local/lib/python2.7/dist-packages/btk/_btk.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x03

I have downloaded btk as btk-0.3.0-1_x86_64.rpm which I uninstall then put it to the corresponding directory as stated on the script.

Could you have a look at this please?

Thank you,

theano as backend

Hello

I struggle to install every depedancies for working with your script.
I work under windows with python3.7 from anaconda32bits.

tensorflow sound not compatible with python3.7
even if i made a python 3.6 virtual env, that s not worked as well because tensor flow is 64bits-compatble only.

so have you tested your package with another keras.backend than tensorflow ?

regards

Fabien

Conversion symbolic tensor to numpy array

Hey Lukas,

I have been working on your code and there's one thing I cannot quite get my head around.

In the event-detector/utils.py .

[(https://github.com/kidzik/event-detector/blob/7605ba78113fc149536fa855a53128c43abb1df0/eventdetector/utils.py#L34-L38) ]

It seems that I kept getting an error saying.

NotImplementedError: Cannot convert a symbolic Tensor to a NumPy array

I initially thought this was to do with tensorflow==2.0 but I downgraded TensorFlow to 1.5 as I thought that you would not have used 2.0. However, I kept getting the same error so what I did is a change from np.multipy to tf.multiply which then worked, but I am not sure whether this is the right thing to do.

Could you possibly explain this bit to me?

Thank you!

BTK import issue

Hello,

I tried to import btk on python 3.7 on windows 10. pip install did not work. I could import it with conda forge created by someone else, but your code did not work with the btk. I installed executable btk from pypi website, but I got an error of python27.dll conflict. I changed the python version to python 2.7. Then, it seems that tensorflow does not support python 2.7... I am sorry, but I do not know what to do from here...

I appreciate your solution in advance!

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.