KordingLab / Neural_Decoding

A python package that includes many methods for decoding neural activity
BSD 3-Clause "New" or "Revised" License
429 stars 119 forks source link

Errors when running xgboost and dense neural net tutorial decoders #1

Open srcole opened 7 years ago

srcole commented 7 years ago

I'm trying to get the tutorials to run, but I am having issues with 2 of the decoders.

When running cell 4C (xgboost), I get this error on line 686 of decoders.py AttributeError: 'module' object has no attribute 'DMatrix'

When running cell 4E (dense neural net), I get an error in keras/backend/tensorflow_backend.py on line 1107 (when calling tf.python.control_flow_ops.cond): AttributeError: 'module' object has no attribute 'control_flow_ops'

I'm using a python 3.4 conda virtual environment and installed keras by conda install -c conda-forge keras. and cloned the current version of xgboost.

Would appreciate any advice on how to get these working with my environment. Thanks!

jglaser2 commented 7 years ago

I'm really sorry for the delay in getting back to you! Did you end up getting either to work, or are you still stuck?

srcole commented 7 years ago

no worries! It's not critical for my project, so I honestly haven't looked at it since opening this issue.