I'm working on a project using stuffs under both tensorflow.contrib.slim and the developing version of slim under a different path( https://github.com/tensorflow/models/tree/master/research/slim)
My code actually works fine. The only problems I cannot get into certain functions under the tensorflow.contrib.slim version of slim using Ctrl+B. It says cannot find declaration to go to. However, the stuff under the developing version of slim can be found.
The interpreter paths is setted as the image showed
the tensorflow.contrib.slim is under the site-packages and the developing slim is research\slim
I know there must be something wrong about the module name duplication, but I have no idea how to solve this.
The other thing maybe need to point out is my code importing things like this ( which is also the way used in github sample code ):
import tensorflow as tf
slim = tf.contrib.slim
and I can not go into functions under it by using Ctrl + B. for example,
and I can not do it using the full path import either
Somebody please give me some idea. Thanks in advance
Already tried File | Invalidate Caches / Restart. It doesn't help