LiLabAtVT / DeepTE

Neural network classification of TE
BSD 3-Clause "New" or "Revised" License
82 stars 7 forks source link

python cannot load modules in 'scripts' #2

Closed clemgoub closed 4 years ago

clemgoub commented 4 years ago

Hello!

I am very excited on trying DeepTE. However I am encountering what seem to be a simple Python error:

Traceback (most recent call last):
  File "./DeepTE.py", line 16, in <module>
    from scripts import DeepTE_pipeline_no_modification as pipeline_no_m
ImportError: cannot import name 'DeepTE_pipeline_no_modification'

how can I fix this module import issue?

Many thanks,

Clément

yanhaidong1 commented 4 years ago

Hello!

I am very excited on trying DeepTE. However I am encountering what seem to be a simple Python error:

Traceback (most recent call last):
  File "./DeepTE.py", line 16, in <module>
    from scripts import DeepTE_pipeline_no_modification as pipeline_no_m
ImportError: cannot import name 'DeepTE_pipeline_no_modification'

how can I fix this module import issue?

Many thanks,

Clément

Hello!

I am very excited on trying DeepTE. However I am encountering what seem to be a simple Python error:

Traceback (most recent call last):
  File "./DeepTE.py", line 16, in <module>
    from scripts import DeepTE_pipeline_no_modification as pipeline_no_m
ImportError: cannot import name 'DeepTE_pipeline_no_modification'

how can I fix this module import issue?

Many thanks,

Clément

Dear Clément, 

I am glad and excited you are trying DeepTE. I am thinking you put the DeepTE.py to a folder that does not contain scripts directory. Can you try to put them together and run the DeepTE.py?  Please tell me whether it works or not.

Thanks Best wishes Haidong

clemgoub commented 4 years ago

Hello Haidong,

Thank you for your fast response. I looked at this and the file DeepTE.py is in the folder containing the scripts/ directory with the expected files.

I am using Python3.6 but I am currently reinstalling all the python deps from conda. I will keep you updated.

Many thanks,

Clément

yanhaidong1 commented 4 years ago

Hello Haidong,

Thank you for your fast response. I looked at this and the file DeepTE.py is in the folder containing the scripts/ directory with the expected files.

I am using Python3.6 but I am currently reinstalling all the python deps from conda. I will keep you updated.

Many thanks,

Clément

Dear Clément, Awesome. Please let me known if you have issues with DeepTE. Best wishes Haidong

clemgoub commented 4 years ago

Hi Haidong,

I figured out my issue. I was running DeepTE.py using the python DeepTE.py command instead of DeepTE.py

It is working well and fast, I am very impressed. I will benchmark it in a lot of insects. What is the representation in species and sequences of the training set for Metazoans? (I guess I'll have to go back to the paper =) )

Cheers,

Clément