Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
harshbhatt99 opened this issue Mar 27, 2020 · 2 comments
Open

Comments

@harshbhatt99
Copy link

harshbhatt99 commented Mar 27, 2020

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?

@shashwat1225
Copy link

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

@DmitryBerdnik
Copy link

Same issue here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants