You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the weird error. When I run demo.ipynb with ipython notebook, it is ok. But When I run on terminal it has the following problem:
053] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3371 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1050, pci bus id: 0000:01:00.0, compute capability: 6.1) Error: /home/lxiao/icnet/ICNet-tensorflow/model/cityscapes/icnet_cityscapes_trainval_90k.npy Internal Server Error: /process_picture/ Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/django/core/handlers/exception.py", line 34, in inner response = get_response(request) File "/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py", line 115, in _get_response response = self.process_exception_by_middleware(e, request) File "/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py", line 113, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python3.5/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/home/lxiao/DjangoImageSegmentation/DjangoSegment/DjangoSegment_Service/views.py", line 30, in process_picture processPicSegment.create_base() File "/home/lxiao/icnet/ICNet-tensorflow/processPicSegment.py", line 48, in create_base net.restore(cfg.model_weight) File "/home/lxiao/icnet/ICNet-tensorflow/network.py", line 78, in restore self.load_npy(data_path, self.sess) File "/home/lxiao/icnet/ICNet-tensorflow/network.py", line 110, in load_npy var = tf.get_variable(param_name) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/variable_scope.py", line 1317, in get_variable constraint=constraint) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/variable_scope.py", line 1079, in get_variable constraint=constraint) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/variable_scope.py", line 425, in get_variable constraint=constraint) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/variable_scope.py", line 394, in _true_getter use_resource=use_resource, constraint=constraint) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/variable_scope.py", line 751, in _get_single_variable "reuse=tf.AUTO_REUSE in VarScope?" % name) ValueError: Variable conv5_1_1x1_proj/biases does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=tf.AUTO_REUSE in VarScope?
Help Me!
I use Tensroflwo-gpu 1.8.0
The text was updated successfully, but these errors were encountered:
I have the weird error. When I run demo.ipynb with ipython notebook, it is ok. But When I run on terminal it has the following problem:
053] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3371 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1050, pci bus id: 0000:01:00.0, compute capability: 6.1) Error: /home/lxiao/icnet/ICNet-tensorflow/model/cityscapes/icnet_cityscapes_trainval_90k.npy Internal Server Error: /process_picture/ Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/django/core/handlers/exception.py", line 34, in inner response = get_response(request) File "/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py", line 115, in _get_response response = self.process_exception_by_middleware(e, request) File "/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py", line 113, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python3.5/dist-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/home/lxiao/DjangoImageSegmentation/DjangoSegment/DjangoSegment_Service/views.py", line 30, in process_picture processPicSegment.create_base() File "/home/lxiao/icnet/ICNet-tensorflow/processPicSegment.py", line 48, in create_base net.restore(cfg.model_weight) File "/home/lxiao/icnet/ICNet-tensorflow/network.py", line 78, in restore self.load_npy(data_path, self.sess) File "/home/lxiao/icnet/ICNet-tensorflow/network.py", line 110, in load_npy var = tf.get_variable(param_name) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/variable_scope.py", line 1317, in get_variable constraint=constraint) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/variable_scope.py", line 1079, in get_variable constraint=constraint) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/variable_scope.py", line 425, in get_variable constraint=constraint) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/variable_scope.py", line 394, in _true_getter use_resource=use_resource, constraint=constraint) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/variable_scope.py", line 751, in _get_single_variable "reuse=tf.AUTO_REUSE in VarScope?" % name) ValueError: Variable conv5_1_1x1_proj/biases does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=tf.AUTO_REUSE in VarScope?
Help Me!
I use Tensroflwo-gpu 1.8.0
The text was updated successfully, but these errors were encountered: