EdjeElectronics / TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10

How to train a TensorFlow Object Detection Classifier for multiple object detection on Windows
Apache License 2.0
2.92k stars 1.3k forks source link

error while training #512

Open BringMeyourteeth opened 4 years ago

BringMeyourteeth commented 4 years ago

while runing python legacy/train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config i keep getting this error and i cant figure it out plz help :(

2020-07-25 08:28:20.458392: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 2020-07-25 08:28:20.803023: F tensorflow/stream_executor/lib/statusor.cc:34] Attempting to fetch value instead of handling error Internal: failed to get device attribute 13 for device 0: CUDA_ERROR_UNKNOWN: unknown error Fatal Python error: Aborted

Thread 0x000032e0 (most recent call first): File "C:\Users\s\anaconda3\envs\tensorflow\lib\threading.py", line 293 in wait File "C:\Users\s\anaconda3\envs\tensorflow\lib\queue.py", line 164 in get File "C:\Users\s\anaconda3\envs\tensorflow\lib\site-packages\tensorflow_core\python\summary\writer\event_file_writer.py", line 159 in run File "C:\Users\s\anaconda3\envs\tensorflow\lib\threading.py", line 914 in _bootstrap_inner File "C:\Users\s\anaconda3\envs\tensorflow\lib\threading.py", line 882 in _bootstrap

Current thread 0x00001a00 (most recent call first): File "C:\Users\s\anaconda3\envs\tensorflow\lib\site-packages\tensorflow_core\python\client\session.py", line 699 in init File "C:\Users\s\anaconda3\envs\tensorflow\lib\site-packages\tensorflow_core\python\client\session.py", line 1585 in init File "C:\Users\s\anaconda3\envs\tensorflow\lib\site-packages\tensorflow_core\python\training\session_manager.py", line 194 in _restore_checkpoint File "C:\Users\s\anaconda3\envs\tensorflow\lib\site-packages\tensorflow_core\python\training\session_manager.py", line 290 in prepare_session File "C:\Users\s\anaconda3\envs\tensorflow\lib\site-packages\tensorflow_core\python\training\supervisor.py", line 734 in prepare_or_wait_for_session File "C:\Users\s\anaconda3\envs\tensorflow\lib\site-packages\tensorflow_core\python\training\supervisor.py", line 1003 in managed_session File "C:\Users\s\anaconda3\envs\tensorflow\lib\contextlib.py", line 59 in enter File "C:\Users\s\anaconda3\envs\tensorflow\lib\site-packages\tensorflow_core\contrib\slim\python\slim\learning.py", line 753 in train File "C:\Users\s\mypro\models\research\object_detection\legacy\trainer.py", line 416 in train File "legacy/train.py", line 180 in main File "C:\Users\s\anaconda3\envs\tensorflow\lib\site-packages\tensorflow_core\python\util\deprecation.py", line 324 in new_func File "C:\Users\s\anaconda3\envs\tensorflow\lib\site-packages\absl\app.py", line 250 in _run_main File "C:\Users\s\anaconda3\envs\tensorflow\lib\site-packages\absl\app.py", line 299 in run File "C:\Users\s\anaconda3\envs\tensorflow\lib\site-packages\tensorflow_core\python\platform\app.py", line 40 in run File "legacy/train.py", line 184 in

sheetal-bit commented 3 years ago

I have the same issue. @lulu-max please help solve this issue , if you have got any solution to this problem.