question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Train.py not found

See original GitHub issue

I am getting the following error for - D:\tensorflow\models\research\object_detection>python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config Error- python: can’t open file ‘train.py’: [Errno 2] No such file or directory

I checked there is no such file train.py even in tensorflows github page too

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:31

github_iconTop GitHub Comments

12reactions
fdkssdkscommented, Jul 27, 2018

Your script should become: python legacy/train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config

7reactions
RafaRuizcommented, Jul 26, 2018

They put it in the folder legacy. Now you can execute model_main.py which runs train and eval at the same time.

Apparently.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tensorflow train.py cannot be found - Stack Overflow
I searched my Mac for train.py and see one instance located at /Users/me/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/gan/python. I ...
Read more >
Downloaded GPT-2, Encode.py, and Train.py not found. - Reddit
So should I just download GPT-2 and then put the files in?
Read more >
-bash: python: command not found error and solution - nixCraft
This error means Python is either not installed or your installation damaged including wrong $PATH settings.. Here is how you can solve this ......
Read more >
tf.train.Checkpoint | TensorFlow v2.11.0
status = checkpoint.restore(tf.train.latest_checkpoint( ... raise an error if any Python objects in the dependency graph were not found in ...
Read more >
Training a model for custom object detection (TF 2.x ... - Medium
You can find the generate_tfrecord.py file here ... else train the model until the loss does not show any significant change for a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found