DetectionTeamUCAS / DetectionTeamUCAS/R2CNN-Plus-Plus_Tensorflow

运行错误

Open
#36 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
240
Forks
75
PR merge metrics
No merged PRs in 30d

Description

在测试demo_rh_pyramid.py中出现如下错误

Traceback (most recent call last):
File "demo_rh_pyramid.py", line 393, in
args.h_overlap, args.w_overlap, args.save_res)
File "demo_rh_pyramid.py", line 69, in inference
mask_batch=None)
File "../libs/networks/build_whole_network.py", line 447, in build_whole_detection_network
img_shape=img_shape)
File "../libs/networks/build_whole_network.py", line 157, in postprocess_fastrcnn_r
use_gpu=cfgs.ROTATE_NMS_USE_GPU)
File "../libs/box_utils/nms_rotate.py", line 31, in nms_rotate
device_id=gpu_id)
File "../libs/box_utils/nms_rotate.py", line 112, in nms_rotate_gpu
Tout=tf.int64)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/script_ops.py", line 384, in py_func
func=func, inp=inp, Tout=Tout, stateful=stateful, eager=False, name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/script_ops.py", line 199, in _internal_py_func
token = _py_funcs.insert(func)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/script_ops.py", line 100, in insert
self._funcs[token] = func
File "/usr/lib/python2.7/weakref.py", line 108, in __setitem__
self.data[key] = KeyedRef(value, self._remove, key)
File "/usr/lib/python2.7/weakref.py", line 278, in __new__
self = ref.__new__(type, ob, callback)
TypeError: cannot create weak reference to 'builtin_function_or_method' object

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.