0

I'm using inception_v3 inside my django app. I have cloned this repository: link, and have made a incep.py file and written a function **generator():** as instructed on this page: link. I have changed the inception_v1 to v3 in the code. When called the incep.py returns the tags generated from the given image. I have cloned the git repository inside my django app folder and have also made a incepTest.py file where I'm calling the incep.py file. I'm facing the "ImportError: No module named 'datasets' " error. I have already tried the solutions provided here: ImportError: No module named datasets, but I'm still getting the error of no module named "datasets".

I have imported the incep.py file as follows:

from models.research.slim.incep import generator

Also I have placed a blank init.py file in every working folder of models. Any help would be helpful.

Mr.Zeus
  • 424
  • 8
  • 25
fnatic9876
  • 1
  • 1
  • 5
  • From which folder are you running it? Here is the [datasets module](https://github.com/tensorflow/models/tree/master/research/slim/datasets) you're missing. – grovina Nov 30 '17 at 14:09
  • i have to run from within my django's app folder. – fnatic9876 Dec 01 '17 at 04:58
  • i'm receiving the same error with this datasets file also. https://github.com/tensorflow/models/tree/master/research/slim/datasets – fnatic9876 Dec 01 '17 at 08:20

0 Answers0