models icon indicating copy to clipboard operation
models copied to clipboard

hi, tensorflow object detection API

Open gloomyfish1998 opened this issue 7 years ago • 14 comments

i just want to know whether tensorflow object detection API already support tensorflow 2.0 now //???

i did not see any release notes on this ,please let me know ~~~~~

gloomyfish1998 avatar Oct 11 '19 06:10 gloomyfish1998

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. What is the top-level directory of the model you are using Have I written custom code OS Platform and Distribution TensorFlow installed from TensorFlow version Bazel version CUDA/cuDNN version GPU model and memory Exact command to reproduce

tensorflowbutler avatar Oct 12 '19 00:10 tensorflowbutler

@gloomyfish1998 I dont think the object detection api is ported to [tf 2.0] you will have to use the older scripts for running them i guess

njanirudh avatar Oct 12 '19 09:10 njanirudh

i also meet the error "module 'tensorflow' has no attribute 'GraphDef'". is it removed from tf 2.0.0?

enyangxxx avatar Oct 12 '19 11:10 enyangxxx

@enyangxxx can you give a brief description of which model, scripts and tf version are you using?

njanirudh avatar Oct 12 '19 11:10 njanirudh

Hi, I heard keras team has some models ported to TF2 in OD api. @tomerk Can keras team share some code pointers?

OD api does not have a major release recently. It will probably include TF2 in the next major release I guess.

saberkun avatar Oct 12 '19 18:10 saberkun

tf version is 2.0.0, script is https://github.com/tensorflow/models/blob/master/research/object_detection/object_detection_tutorial.ipynb section Load a (frozen) Tensorflow model into memory.

enyangxxx avatar Oct 14 '19 19:10 enyangxxx

CC'ing @jch1 @tombstone .

The object detection API does not work just yet externally in TF2 because certain contrib imports need to be avoided. Model_lib_v2 contains the logic to train in TF2 with eager + tf.functions https://github.com/tensorflow/models/blob/master/research/object_detection/model_lib_v2.py

But there is currently no open sourced model_main.sh file to call these methods. Contributions are welcome if anyone wants to put together a model_main_v2 script, & to make the contrib imports conditional on TF version. Alternatively, you can wait until the Object Detection team has time to do this (But I can't speak to their timelines)

tomerk avatar Oct 14 '19 19:10 tomerk

tf version is 2.0.0, script is https://github.com/tensorflow/models/blob/master/research/object_detection/object_detection_tutorial.ipynb section Load a (frozen) Tensorflow model into memory.

emm, this part was removed just now.

guizili0 avatar Oct 18 '19 02:10 guizili0

This shows just the detection...Is there any scripts for training the model also as part of the new API in [TF2.0]

njanirudh avatar Oct 18 '19 08:10 njanirudh

As anyone knows any other ways to train the model with TF2.0 for now situation?

wAikAp avatar Nov 27 '19 09:11 wAikAp

Any news considering the retraining of object detection models with TF2?

horczech avatar Feb 14 '20 12:02 horczech

Anyone knows if TF2x object detection api is available yet?

tnaduc avatar Mar 26 '20 00:03 tnaduc

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.

google-ml-butler[bot] avatar Sep 11 '20 16:09 google-ml-butler[bot]

Closing as stale. Please reopen if you'd like to work on this further.

google-ml-butler[bot] avatar Sep 18 '20 17:09 google-ml-butler[bot]