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: super() takes at least 1 argument (0 given) #3

Closed
keishatsai opened this issue Jan 17, 2018 · 1 comment
Closed

TypeError: super() takes at least 1 argument (0 given) #3

keishatsai opened this issue Jan 17, 2018 · 1 comment

Comments

@keishatsai
Copy link

keishatsai commented Jan 17, 2018

Hi,
Thanks for the tutorial.
Here is what I have encountered when I run the code which you provided "Project 3D Velodyne points to 2D camera Image ", I got error message.
I put the code you provided in ipython notebook inside one file called, "projectVelo.py", and I only changed the path to velodyne and image file.

Traceback (most recent call last):
File "projectVelo.py", line 54, in
res = Kitti_util(frame=128, camera_path=image_path, velo_path=velo_path, v2c_path=v2c_filepath, c2c_path=c2c_filepath)
File "/home/keisha_tsai/Downloads/KITTI_Tutorial-master/kitti_foundation.py", line 235, in init
super().init(frame, velo_path, camera_path, img_type, v2c_path, c2c_path, xml_path)
TypeError: super() takes at least 1 argument (0 given)

Could you help me to clarify the error? Thank you.

@keishatsai
Copy link
Author

Maybe it is because of the version of python.
so I changed the the line 235 into
Kitti.init(self,frame, velo_path, camera_path, img_type, v2c_path, c2c_path, xml_path)
now it works for me....

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

1 participant