-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Update The visualization.plot_image_gallery object_detection_keras_cv.py #1469
Conversation
The guide has an issue when calling the visualization.plot_image_gallery function with its input being a list, it has to be of type array because it will be calling for the shape of it later in the function. The error occurred in the second code cell in the Beginner section, Ligne 155 in the object_detection_keras_cv.py file.
Update The visualization.plot_image_gallery object_detection_keras_cv.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Thanks for the PR.
It might make sense to fix the viusualization tool as well.
would a numpy.asarray() make sense here:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you run the command to generate the ipynb and md files, and upload the result?
Should be:
cd scripts
python autogen.py add_guide keras_cv/object_detection_keras_cv
I am trying to do this but it's giving me this error: Using TensorFlow backend I usually work locally on my laptop on Pycharm, so I don't have a lot of experience with these errors, what can I do to generate the files and fix the error? Could you guide me through this, please? |
Mainly it looks like your local environment is missing some of the packages that tool requires. Try installing them first:
If that doesn't work, since this is a small change, you could manually edit the |
Hi again, it looks like this was fixed by: #1478 I'm closing this, but thanks for taking the time to send a PR. |
The guide has an issue when calling the visualization.plot_image_gallery function with its input being a list, it has to be of type array because it will be calling for the shape of it later in the function. The error occurred in the second code cell in the Beginner section, Ligne 155 in the object_detection_keras_cv.py file.