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

ValueError: __len__() should return >= 0 #6

Open
Doflamingo-swj opened this issue Jan 18, 2024 · 0 comments
Open

ValueError: __len__() should return >= 0 #6

Doflamingo-swj opened this issue Jan 18, 2024 · 0 comments

Comments

@Doflamingo-swj
Copy link

Hello, thank you for your reply! I ran into a problem while trying to run your code:

Specifically, in the CL-SLAM/slam/slam.py file, there is a code that returns the instance size:
return len(self.online_dataset), every time you run here, an error will be reported ValueError: len() should return >= 0.

I used KITTI's sequence 9 to run main_adapt.py. Is there any problem in the data set preparation stage? According to my observation, the online_dataset instance does not have a customized member function of len(). What do you want to return 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

1 participant