-
Notifications
You must be signed in to change notification settings - Fork 45.7k
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
train.py and model_main.py #6100
Comments
I have the same question! |
There are a couple reasons why we moved to model_main
We recommend users use model_main.py moving forward. We left the old binaries in the legacy folder because during the introduction of model_main as there were a few feature gaps between the two systems. As of today, we believe the gaps should be closed (but feel free to file a bug towards us if you think that isn't the case). |
@derekjchow Thanks for the reply! One more question, does And for more understanding the TF Object Detection API, I have some Hesitation if you clear me, I will be very appreciated.
I am asking these question because I want to use the API in the most correct way, to get its most possible advantage. Thanks! |
There shouldn't be changes in model quality (in either speed or accuracy). The slim/estimator API difference is superficial. In fact, if you look at our estimator implementation, you'll discover it wraps an internal detection API which is built with slim. |
@derekjchow So it means if I train the dataset using TF 1.5 or 1.12 there is no difference in result? If yes, then what benefits can the upper versions bring for us. Then how should the accuracy and speed get improved? If it belongs to the model itself, the models and model zoo are going to be outdated and quite old (most of them are almost one year no updated). It will be better to clean up the model zoo for the latest changes. Thanks! |
also model_main.py doesn't support multi-GPU training |
I cant run training
|
I had the same problem,do you know how to fix it now? |
This issue got resolved for me after installing the following packages when I was training in Linux system: |
(tensorflow) D:\my-work\WiS - alert - 2\models\research\object_detection>python train.py --logtostderr --train_dir= D:/my-work/WiS - alert - 2 /models/research/object_detection/training/ --pipeline_config_path= D:/my-work/WiS - alert - 2 /models/research/object_detection/training/ssd_mobilenet_v1_coco.config |
tienes que ejecutar los siguiente !protoc ./object_detection/protos/*.proto --python_out=. |
another slash |
Hi I'm having a problems(tensorflow1) C:\tensorflow1\models\research\object_detection>python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config any advice? thanks |
System information
I want to ask, in the new version of the Object Detection API the train.py file has been moved to the legacy folder. And newly added model_main.py, but there is nothing said in the documentation, that why the train.py moved to the legacy folder and want we can use instead to train our own models?
And now which one is better to use, and how to use? And also why it is better than train.py.
This information is very necessary for us to know the difference between them in order to take advantage of the new version.
The text was updated successfully, but these errors were encountered: