dog-breeds-classification icon indicating copy to clipboard operation
dog-breeds-classification copied to clipboard

Import Module Error

Open dcurry09 opened this issue 7 years ago • 2 comments

Hi, Thanks a lot of releasing this great package. I am in the early steps of getting the data and reading it into the TF data format with this command(sorry for the newbie question):

python -m src.data_preparation.stanford_ds_to_tfrecords

I receive the error: File "/Users/HAL3000/Dropbox/coding/Insight/Tinder/dog-breeds-classification/src/data_preparation/stanford_ds_to_tfrecords.py", line 7, in import dataset ModuleNotFoundError: No module named 'dataset'

Which also happens for freeze modules. It seems as if my PATH is not correct? I am using python 3.6. Thanks in advance

dcurry09 avatar Jan 17 '18 16:01 dcurry09

I got the same issue. Did you fix it?

taojin1992 avatar Nov 12 '18 19:11 taojin1992

Had the same problem, if you use python 3 you have to change 'import dataset' to 'from src.data_preparation import dataset', same with freeze

ecounihan avatar May 01 '19 21:05 ecounihan