Comments (4)
Hello @prism5426, I just finished the new version of auto annotation for TF 2.x. To try to use it, please, run the detection_img_tf2.py file inside scripts. To run this file you need this command:
python3 scripts/detection_img_tf2.py --saved_model /path-saved-model --labelmap /path-label-map.pbtxt --imgs /path-of-the-imgs
Please, let me know if everything worked as expected!
from auto_annotate.
Hello @AlvaroCavalcante I tried to run this command "python3 scripts/detection_img_tf2.py --saved_model /path-saved-model --labelmap /path-label-map.pbtxt --imgs /path-of-the-imgs" but I found this issue
from auto_annotate.
Hello @shabbir9916, as mentioned in the auto annotation tutorial here, you need to replace the content of the visualization_utils.py to add the lines of code needed to the project work correctly. This file is inside the TF garden repo, in models/research/object_detection/utils. An easy way to do this is to copy all the content in the "visualization_utils_v2.py" in this repo and paste it into the visualization_utils.py of the TF repo. Let me know if you have any doubt, I recommend checking the mentioned tutorial to get a cleaner idea.
from auto_annotate.
@shabbir9916 I'll close this issue due to inactivity. Please, feel free to reopen if you have some news!
from auto_annotate.
Related Issues (20)
- readme.md
- bug
- documentation
- duplicate
- enhancement
- Error parsing message HOT 5
- How to get pretrained model and what is it trained on? HOT 2
- XML result path dynamically HOT 2
- A way to set the min confidence level of the auto labels? HOT 2
- Running detection_img_tf2.py [...] resulting in AttributeError: ... 'cv2' has no attribute HOT 3
- visualize_boxes_and_labels_on_image_array() got an unexpected keyword argument 'file_name' HOT 4
- tensorflow.python.framework.errors_impl.NotFoundError: /path-label-map.pbtxt; No such file or directory HOT 3
- How to set the dimensions for the bounding box? HOT 6
- Version issue within the setup.py HOT 19
- Create issue template HOT 4
- Question: I am trying to auto_annotate images using google collab but getting this error. HOT 2
- using yolov5 model HOT 2
- Could not find matching concrete function to call loaded from the SavedModel HOT 2
- Annotations are not generated HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto_annotate.