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

error while executing terminal command #12

Closed
bangonuniverse opened this issue Dec 11, 2019 · 1 comment
Closed

error while executing terminal command #12

bangonuniverse opened this issue Dec 11, 2019 · 1 comment

Comments

@bangonuniverse
Copy link

it is showing error while i am executing this cmnd in cmd prompt
python retrain.py --output_graph=retrained_graph.pb --output_labels=retrained_labels.txt --architecture=MobileNet_1.0_224 --image_dir=images
Error :- File "retrain.py", line 234, in get_image_path
mod_index = index % len(category_list)
ZeroDivisionError: integer division or modulo by zer

@MauryaRitesh
Copy link
Owner

You should check the image directory. It seems like no image is present in the given directory, therefore the number of images = 0 hence you're getting this error.

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

2 participants