How can jupyter access a new tensorflow module installed in the right path?
<p>Where should I stick the model folder? I'm confused because python imports modules from somewhere in anaconda (e.g. import numpy), but I can also import data (e.g. file.csv) from the folder in which my jupyter notebook is saved in.</p>

<p>The TF-Slim image models library is not part of the core TF library. So I checked out the tensorflow/models repository as:</p>

<pre><code> cd $HOME/workspace
 git clone https://github.com/tensorflow/models/
</code></pre>

<p>I'm not sure what $HOME/workspace is. I'm running a ipython/jupyter notebook from users/me/workspace/ so I saved it to:</p>

<pre><code>users/me/workspace/models
</code></pre>

<p>In jupyter, I'll write:</p>

<pre><code>import tensorflow as tf
from datasets import dataset_utils
# Main slim library
slim = tf.contrib.slim
</code></pre>

<p>But I get an error: </p>

<pre><code>ImportError: No module named datasets
</code></pre>

<p>Any tips? I understand that my tensorflow code is stored in '/Users/me/anaconda/lib/python2.7/site-packages/tensorflow/<strong>init</strong>.pyc' so maybe I should save the new models folder (which contains models/datasets) there?</p>

<p>From the error "ImportError: No module named datasets" <br>
It seems that no package named datasets is present.
You need to install datasets package and then run your script. <br>
Once you install it, then you can find the package present in location <br>"/Users/me/anaconda/lib/python2.7/site-packages/"  or at the <br>location   "/Users/me/anaconda/lib/python2.7/"
<br><br>Download the package from <a href="https://pypi.python.org/pypi/dataset" rel="nofollow">https://pypi.python.org/pypi/dataset</a> and install it.<br>This should work</p>

python terminal tensorflow jupyter jupyter-notebook