Comments (12)
It looks like notebook tutorial is from 0.1.1 release used at the ucsf workshop while the installed dragonn package is the 0.1.0 release. Can you try updating the package by running Python setup.py install?
I haven't updated the conda package yet so it comes with 0.1.0 at the moment. I'll update it to 0.1.1 tonight.
from dragonn.
Yea, I'd tried that. Retried with the same failure. The setup.py that I'm using is trying to install the older dragonn version.
From install log
creating 'dist/dragonn-0.1.0-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing dragonn-0.1.0-py2.7.egg
Removing /home/t-benorg/anaconda/lib/python2.7/site-packages/dragonn-0.1.0-py2.7.egg
Copying dragonn-0.1.0-py2.7.egg to /home/t-benorg/anaconda/lib/python2.7/site-packages
dragonn 0.1.0 is already the active version in easy-install.pth
Installing dragonn script to /home/t-benorg/anaconda/bin
from dragonn.
Looks like I forgot to update setup.py - it still points to 0.1.0. can you try changing to 0.1.1 and reinstalling?
from dragonn.
pointed setup to 0.1.1 and re-ran setup.py. Exited shell. Started new shell and opened notebook.
During initial import I see:
UserWarning: Module dragonn was already imported from /home/t-benorg/anaconda/lib/python2.7/site-packages/dragonn/init.pyc, but /home/t-benorg/dragonn/examples is being added to sys.path
one_filter_dragonn = get_SequenceDNN(one_filter_dragonn_parameters) still fails with same error
from dragonn.
@beaunorgeot: could you share how you fixed this issue?
from dragonn.
I wasn't able to fix this issue directly. But I did find a simple work around which was to pass arguments directly to DNN():
dnn = get_SequenceDNN(seq_length = 500, num_filters = [16], conv_width=[10], pool_width = 5, dropout = 0.2)
from dragonn.
I see. If I have time next week I'll try to reproduce this error with fresh install, otherwise we will just update the notebook tutorial for the next release (it will provide a more flexible model specification format). I'll let you know when we have an update on this.
from dragonn.
@beaunorgeot: we pushed a bunch of updates since the UCSF workshop and haven't seen this issue come up recently. So I'm going to close this, but feel free to reopen this issue if it comes up again.
from dragonn.
@jisraeli - I'm encountering the same "ValueError: setting an array element with a sequence" problem, using dragonn version 0.1.3 (installed yesterday). The previous fix (to provide parameters directly to get_SequenceDNN) doesn't work:
TypeError: get_SequenceDNN() got an unexpected keyword argument 'seq_length'
Any thoughts?
from dragonn.
@bvernot: thanks for reporting this issue. I'm on vacation this week, I will look through this next week.
from dragonn.
Any updates/thoughts?
from dragonn.
@bvernot: get_SequenceDNN
initializes a SequenceDNN. In versions 0.1.2 and the bleeding edge, there is a seq_length
argument. In previous versions that argument is not present. This suggests that an older version of the code is being run. Can you try version 0.1.2 and see if you get the same error?
from dragonn.
Related Issues (20)
- Python setup.py installation issue for bleeding edge dragonn HOT 2
- dragonn running issue HOT 6
- Workshop Tutorial example not working
- Problems installing bleeding edge of DragoNN HOT 1
- Deep network for retroelement insertion motifs
- issue when running dragonn train... HOT 3
- Errors in installing Dragonn: HOT 1
- SequenceDNN intuition HOT 2
- typo in hyperparameter_search.py HOT 2
- problem with interpret HOT 5
- conflict error
- workshop_tutorial.ipynb throwing ValueError HOT 1
- bad link for google collaboratory tutorial HOT 1
- Trouble running training example
- Error when Training Model
- Citation for DragoNN HOT 1
- Installation problem with conda HOT 1
- Installation Problem
- Multiple Motif Detection in DragoNN Simulated Data
- conda install not working for python 3.6 / tutorial not working for python 2.7(dragonn0.1.1) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dragonn.