grasp_multiObject_multiGrasp icon indicating copy to clipboard operation
grasp_multiObject_multiGrasp copied to clipboard

TypeError: bottleneck() argument after ** must be a mapping, not tuple

Open Ultraopxt opened this issue 3 years ago • 5 comments

I run :python demo_graspRGD.py --net res50 --dataset grasp, and got an error like :

Traceback (most recent call last): File "demo_graspRGD.py", line 197, in tag='default', anchor_scales=[8, 16, 32]) File "/content/grasp_multiObject_multiGrasp/tools/../lib/nets/network.py", line 306, in create_architecture rois, cls_prob, bbox_pred = self.build_network(sess, training) File "/content/grasp_multiObject_multiGrasp/tools/../lib/nets/resnet_v1.py", line 155, in build_network scope=self._resnet_scope) File "/usr/local/lib/python3.6/dist-packages/tensorflow/contrib/slim/python/slim/nets/resnet_v1.py", line 207, in resnet_v1 net = resnet_utils.stack_blocks_dense(net, blocks, output_stride) File "/usr/local/lib/python3.6/dist-packages/tensorflow/contrib/framework/python/ops/arg_scope.py", line 183, in func_with_args return func(*args, **current_args) File "/usr/local/lib/python3.6/dist-packages/tensorflow/contrib/slim/python/slim/nets/resnet_utils.py", line 215, in stack_blocks_dense net = block.unit_fn(net, rate=1, **unit) TypeError: bottleneck() argument after ** must be a mapping, not tuple

Ultraopxt avatar Sep 25 '20 07:09 Ultraopxt

Use google Colaboratory and install tensorflow versions 1.13.2 or more. If your device does not have Cuda installed just use google Colaboratory.

Soofiyan avatar Oct 25 '20 08:10 Soofiyan

Use google Colaboratory and install tensorflow versions 1.13.2 or more. If your device does not have Cuda installed just use google Colaboratory.

Thanks

Ultraopxt avatar Oct 26 '20 03:10 Ultraopxt

I'm running into the same problem on my computer, are there any other workarounds besides google colab?

fort745 avatar Nov 03 '20 00:11 fort745

Use google Colaboratory and install tensorflow versions 1.13.2 or more. If your device does not have Cuda installed just use google Colaboratory.

According to the method you said, I installed tensorflow=1.4.1, but it still did not solve

liupenglei avatar Nov 25 '20 04:11 liupenglei

Same here, would appreciate any help =)

ItsMeTheBee avatar Dec 02 '20 11:12 ItsMeTheBee