Closed TanviShrivastav closed 6 years ago
predictions = sess.run(prob_tensor, {input_node: [bgr_image]}) NameError: name 'bgr_image' is not defined Couldnt fix this. Please help and let me know where the bgr_image is defined?
@TanviShrivastav could you please post the document that you are referring to?
https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision-service/export-model-python This one. The last portion, in predicting the image. Thank you.
@TanviShrivastav Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.
predictions = sess.run(prob_tensor, {input_node: [bgr_image]}) NameError: name 'bgr_image' is not defined
yeah it is the only error even i couldn't resolve and there is no alternative to change the variable name 'bgr_image'
fix this issue asap please
Bgr_image is an undefined parameter. Replace it with augmented_image as that is the last modification that we have done on the input image. It works for me now.
I agree with @tanvi2797 , all you need to do is replace bgr_image with augmented_image and it works like a charm.
predictions = sess.run(prob_tensor, {input_node: [augmented_image]})
yeah got it thank you @tanvi2797 @oderza for the response
@ksujanpaul We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:
Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:
We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:
If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.
Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.