TensorFlow-Object-Detection-on-the-Raspberry-Pi icon indicating copy to clipboard operation
TensorFlow-Object-Detection-on-the-Raspberry-Pi copied to clipboard

TypeError: __init__() missing 1 required positional argument: 'name'

Open harshbhatt99 opened this issue 5 years ago • 2 comments
trafficstars

Hey, I have followed your installation steps for setting up object detection with Raspberry Pi. I have installed tensorflow 2.1 and opencv3.4.6.27. I have done following changes in the Object_detection code tf.compat.v1.GraphDef() # -> instead of tf.GraphDef() tf.compat.v2.io.gfile.GFile()# -> instead of tf.gfile.GFile()

But now I am getting error "TypeError: init() missing 1 required positional argument: 'name'" when I run following command in Terminal python3 Object_detection_picamera.py

Can anyone provide any solution for this? Do I need to change anything more in Object Detection Code or this is an error of any library or dependencies?

harshbhatt99 avatar Mar 27 '20 16:03 harshbhatt99

I've been facing a similar issue. Has anyone got it yet?

shashwat1225 avatar May 20 '20 11:05 shashwat1225

Same issue here

DmitryBerdnik avatar May 06 '22 05:05 DmitryBerdnik