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

ZeroDivisionError why ? #52

Open
ggonzalez2022 opened this issue Jan 8, 2023 · 2 comments
Open

ZeroDivisionError why ? #52

ggonzalez2022 opened this issue Jan 8, 2023 · 2 comments

Comments

@ggonzalez2022
Copy link

DeepVO-pytorch-master/main.py", line 112, in
loss_mean /= len(train_dl)
ZeroDivisionError: division by zero

@110sha
Copy link

110sha commented Apr 24, 2024

Have you solved this problem? I also encountered a similar problem.

@ayushkumar8340
Copy link

You have to run preprocessing.py first and your folder structure is not correct I guess. It should be <project_folder>/KITTI/images/00/.png instead of <project_folder>/KITTI/images/00/image_3/.png. Just copy the contents of image_3 to the folder just before it. After that delete the pickle files present in data_info.

Refer to the image below:
image

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