Skip to content

Problem importing deepqlearn #2

@ckcollab

Description

@ckcollab

Hey there, first of all... THANKS! I really appreciate you putting in all the work to make this so much easier for people like me to jump into.

I'm getting this error importing deepqlearn:

Traceback (most recent call last):
  File "main_learning2.py", line 5, in <module>
    from convnetpy.deepqlearn import Brain
  File "/Users/eric/src/plithos/src/convnetpy/deepqlearn.py", line 2, in <module>
    from net import Net
  File "/Users/eric/src/plithos/src/convnetpy/net.py", line 1, in <module>
    from layers.input          import InputLayer
  File "/Users/eric/src/plithos/src/convnetpy/layers/input.py", line 1, in <module>
    from util import getopt
ImportError: No module named util

Easy enough fix, just change import util to import ..util, but I may be using this wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions