Traceback (most recent call last):


 "inception-bn.py", line 198, in <module>

launch_train_with_config(config, SyncMultiGPUTrainer(get_nr_gpu()))


 "/usr/local/lib/python2.7/dist-packages/tensorpack/trainv1/interface.py", line 11, in launch_train_with_config

old_launch(config, trainer)


 "/usr/local/lib/python2.7/dist-packages/tensorpack/train/interface.py", line 92, in launch_train_with_config

config.steps_per_epoch, config.starting_epoch, config.max_epoch)


 "/usr/local/lib/python2.7/dist-packages/tensorpack/train/base.py", line 249, in train

self.initialize(session_creator, session_init)


 "/usr/local/lib/python2.7/dist-packages/tensorpack/utils/argtools.py", line 165, in wrapper

return func(*args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/tensorpack/train/base.py", line 177, in initialize

self.sess = session_creator.create_session()


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/monitored_session.py", line 425, in create_session

init_fn=self._scaffold.init_fn)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/session_manager.py", line 283, in prepare_session

local_init_success, msg = self._try_run_local_init_op(sess)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/session_manager.py", line 481, in _try_run_local_init_op

is_ready_for_local_init, msg = self._model_ready_for_local_init(sess)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/session_manager.py", line 466, in _model_ready_for_local_init

"Model not ready for local init")


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/session_manager.py", line 508, in _ready

ready_value = sess.run(op)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 896, in run

run_metadata_ptr)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1124, in _run

feed_dict_tensor, options, run_metadata)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1279, in _do_run

options, run_metadata)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1298, in _do_call

raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InternalError: WhereOp: Could not launch cub::DeviceReduce::Sum to count number of true indices, status: invalid resource handle

Traceback (most recent call last):


 "C:\Users\Yitzhak\Anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2756, in get_entry_map

ep_map = self._ep_map


 "C:\Users\Yitzhak\Anaconda3\lib\site-packages\pkg_resources\__init__.py", line 2727, in __getattr__

raise AttributeError(attr)
AttributeError: _ep_map
