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.

Errors with Train.py

See original GitHub issue

I’ve extracted image patches successfully, however I get the following error when running train.py. Any ideas?

File "train.py", line 184, in run_once    logger.set_logger_dir(save_dir)  File "../tensorpack/utils/logger.py", line 131, in set_logger_dir    action = input("Select Action: k (keep) / d (delete) / q (quit):").lower().strip()EOFError: EOF when reading a line

Any idea here? This is inside my log file:

^[[32m[0303 01:56:20 @logger.py:90]^[[0m Argv: train.py --gpu=0,1^[[32m[0303 01:56:39 @training.py:50]^[[0m [DataParallel] Training a model of 2 towers.^[[32m[0303 01:56:39 @interface.py:31]^[[0m Automatically applying QueueInput on the DataFlow.^[[32m[0303 01:56:39 @interface.py:43]^[[0m Automatically applying StagingInput on the DataFlow.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:18 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
luke2997commented, Mar 7, 2020

I mean the virtual environment is fully set up with python 3.6… however it seems to be initialising with 2.7 as you said. I’ll try see how I can fix this.

Yeah - it seems one of the packages i installed manually through conda has simultaneously downgraded python. Will update.

0reactions
luke2997commented, Mar 8, 2020

Right, thanks a lot for the help I appreciate it, I’ve successfully trained the data after changing the Python Version!

Read more comments on GitHub >

github_iconTop Results From Across the Web

yolov5x train.py error · Issue #2181 · ultralytics/yolov5 - GitHub
Hi. I am trying to run yolov5x module on google colab on GPU, I have successfully imported following !pip install torch !!pip install...
Read more >
Unknown error when running train.py or model_main.py
I've tried both train.py and model_main.py as I'm running on tensorflow-gpu 1.8 through anaconda. in the training folder labelmap.pbtxt does ...
Read more >
Train error vs Test error — scikit-learn 1.2.0 documentation
Illustration of how the performance of an estimator on unseen data (test data) is not the same as the performance on training data....
Read more >
Error running train.py - Isaac Gym - NVIDIA Developer Forums
I have installed the Issac Gym following the installation instructions. But when I run python train.py --task Cartpole, it gives the errors: ...
Read more >
What to do when you get an error - Hugging Face Course
Debugging the pipeline from Transformers · The error messages in Python are known as tracebacks and are read from bottom to top. ·...
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