Skip to content

error when importing modules from __init__.py #32

@AntonioSerrano

Description

@AntonioSerrano

I have just installed Fathom–including TensorFlow and other dependencies–following the Quickstart Guide. However, when I try to run one of the models included in Fathom– e.g. seq2seq by typing ./fathom/seq2seq/seq2seq.py–, I get the following error:

Traceback (most recent call last): File "./fathom/seq2seq/seq2seq.py", line 10, in <module> from fathom.nn import NeuralNetworkModel, default_runstep File "/home/<my_user_name>/fathom/fathom/__init__.py", line 1, in <module> from deepq import *

The problem is in the script __init__.py located in /home/<my_user_name>/fathom/fathom/. It tries to import the modules deepq, speech, seq2seq, autoenc, etc. but it cannot find them.

Fathom is installed at /home/<my_user_name>/fathom/. I told Python where to find Fathom by typing export PYTHONPATH=pwd/fathom from my $HOME directory.

Any clue? Many thx.

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